Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func moreTapped() {
- let url = NSURL(string: "itms-apps://itunes.com/developer/quantum-productions/id979315877")
- if #available(iOS 10.0, *) {
- UIApplication.shared.open(url! as URL, options: [:], completionHandler: {(success: Bool) in
- })
- } else {
- UIApplication.shared.openURL(url! as URL)
- }
- }
Add Comment
Please, Sign In to add comment