2
這可能是愚蠢的東西,但我有這個共享NSExtension
實施我的應用程序,它是持有自定義UI內置MainInterface.storyboard
(圖片附加)。現在的問題是,我該如何退出?ObjectiveC <Custom UI>分享擴展取消按鈕
我已經試過:
[self.navigationController popViewControllerAnimated:YES];
[self dismissViewControllerAnimated:YES completion:nil];
[self.presentingViewController dismissViewControllerAnimated:YES completion:nil];
..但它不工作;
我把它退出的唯一方法是:
- @throw @ 「」; (我甚至不認爲會通過蘋果的提交驗證..)
我錯過了什麼?
謝謝。
它的工作。謝謝 !!! –
真的很高興它的工作!請「接受」答案。 – siburb