1
TwiterKit 3.0 프레임 워크를 사용하고 있습니다. 그리고 내 응용 프로그램에 대한 트윗을 공유하기 위해 Deeplink를 사용합니다. 그러나 문제는 새로운 viewController를 제시하고 트위터 대화 상자를 보여줍니다. 하지만 내 요구 사항은 사진 앱 공유 화면에서와 같이 공유해야합니다. 내가 위의 코드를 실행하면Twitterkit이 새로운 viewcontroller를 대신 표시합니다. targetController에 표시됩니다.
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")
}
}
을 체크 아웃 할 수 있지만 요구 사항에 따라 twitterKit를 사용해야합니다. – Sarath
@Sarath 미안하지만 많은 도움을받을 수 없습니다. 링크를 공유 할 때 twitterkit 기능처럼 보입니다. –