Navigation Menu

Skip to content

halvorsen/AdsForMyOtherApps

Repository files navigation

AdsForMyOtherApps

CI Status Version License Platform

DynamicButton

Example

  1. To run the example project, clone the repo, and run pod install from the Example directory first.

  2. import AdsForMyOtherApps

  3. AdsForMyOtherApps calls a view to overlay your current view by initializing class Advertisement(images: [UIImage], seconds: Int?, url: String, target: UIViewController).

    3a. One or more images will play like a slide show over the amount of seconds specified. Put images in the Images.xcassets folder, the image will autofill as you enter it into the UIImage array argument. 1x full screen images are 375x667.

    3b. Amount of seconds (optional) will not allow user to exit until countdown reaches zero and "x" appears.

    3c. If seconds argument is set to "nil", an "x" will appear immediately and there will be no countdown.

    3d. Target argument is the current ViewController.

For Example:

let adView = Advertisement(images: [#imageLiteral(resourceName: "RansomAd"),#imageLiteral(resourceName: "RansomAd2"),#imageLiteral(resourceName: "RansomAd3")], seconds: 10, url: "itms-apps://itunes.apple.com/app/id1192831637", target: self)

Requirements

Installation

AdsForMyOtherApps is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "AdsForMyOtherApps"

Author

Halvorsen, “aaron.halvorsen@gmail.com git config --global user.name “halvorsen

License

AdsForMyOtherApps is available under the MIT license. See the LICENSE file for more info.

About

advertisement views to generate traffic to your other iOS apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published