Last active
October 15, 2016 17:36
-
-
Save g-1/36e0135881e75fa262b42647be54ecdf to your computer and use it in GitHub Desktop.
Xcode8になっていろいろ変わったこと ref: http://qiita.com/g-1/items/7fb052e05369c2540f40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- override func activityType() -> String? { | |
- return "XXXX" | |
+ override var activityType : UIActivityType { | |
+ return UIActivityType(rawValue: "XXXX") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[UIApplication sharedApplication] openURL:url | |
options:@{} | |
completionHandler:nil]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- override func activityType() -> String? { | |
- return "XXXX" | |
+ override var activityType : UIActivityType { | |
+ return UIActivityType(rawValue: "XXXX") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIApplication.shared.open(url, options: [:], completionHandler: nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment