Twitter share sample with TwitterKit in iOS11
- Xcode 9.2
- Swift 4.0.2
- iOS 9.0 or later
1. Install TwitterKit via CocoaPods
$ pod install
$ carthage bootstrap --platform iOS
URL types -> URLSchemes
twitterkit-<consumerKey>
Twitters.shared.start(consumerKey: "yourConsumerKey", consumerSecret: "yourConsumerSecret")