Twitter Sharing in iOS 11
The people from twitter answered my question. It seems to be a bug right now:
https://twittercommunity.com/t/bug-in-ios-11/91490
However, it's still unconfirmed if this will be the default behavior for iOS 11.
EDIT:
The issue was fixed in version Twitter.app (7.7.2)
EDIT 2:
For clarification, this behavior should no longer occur if the user has the Twitter.app (version 7.72 and up) installed, since the sharing window is actually provided by the Twitter app. (Same as Facebook sharing)
It is possible to share content to specific social network without UIActivityViewController in iOS 13 and opens directly needed extension?
You can only do this with applications that support custom url schemas.
Some of them have official api, like instagram, some may have a private one that you can use as well, but at your own risk: the creators can remove or change this functionality; and some have none.
But you won't be able to create a post or message like you do in the UIActivityViewController
, only to pass some data that the other application will somehow handle.
About SLComposeViewController in iOS 13, Xcode 11 GM
SLComposeViewController has been deprecated since iOS 11. You can either use Social Media's SDK or UIActivityViewController.
Please see this answer
SLComposeViewController.isAvailable always return false
Those functions have been disabled in iOS 11. Apple removed the social access through the settings app. Though no, this won't work, sorry. You have to implement your own sharing components. Twitter wrote an artile about migrating to iOS 11: https://dev.twitter.com/twitterkit/ios/migrate-social-framework
Edit:
Just found out that not the calls are deprecated but the social constants: https://developer.apple.com/documentation/social/social_constants
Twitter Framework for iOS - Why does TWrequest.h import Social/SLRequest.h?
This seemed more of an xcode problem. Sometimes it worked and sometimes it threw the error. I had to exit xcode and restart for it to work again. It eventually fixed itself.
Related Topics
iOS - Could Not Open Obj File When Convert Mdlasset to Mdlmesh
How to Get an Array of Days Between Two Dates in Swift
Swift 3 Cocoa: Use Quicklook to Preview File in Os X
Prefix(_ Maxlength:) Is Type-Erased When Used with a Struct That Conforms to Lazysequenceprotocol
Why Are Image Views Sometimes Not Appearing in Collection View Cells
Tab Bar Item Icons Appear Darker
Difference Between Orientation and Rotation in Scnnode
Changing Associated Value of Enum Swift
Arkit: How to Tell If User's Face Is Parallel to Camera
How to Get The Range of The First Line in a String
Swift: Handling an Unexpected Nil Value, When Variable Is Not Optional
Creating Semaphore with Initial Value of 0 Make Issues with Execution
Swift Protocol That Is Using an Enum with Generic Associated Type
Nevpnmanager with L2Tp Protocol