我使用的是TwiterKit 3.0框架。我使用Deeplink为我的应用程序分享一条tweet。但问题是,它推出了一个新的viewController,并显示了推特对话框。但我的要求是需要分享,就像在照片应用程序分享屏幕一样。
if let deepLinkurl = branchObject.getShortUrl(with: shareLinkProperties) {
let composer = TWTRComposer()
composer.setURL(URL(string: deepLinkURL))
composer.show(from: self) { result in
if (result == TWTRComposerResult.cancelled) {
print("Tweet composition cancelled")
}
}如果我运行上面的代码,我会得到这样的结果

但我需要这样的东西。

发布于 2017-09-06 01:26:52
https://stackoverflow.com/questions/46051947
复制相似问题