Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Facebook共有を実装するためにNSObjectクラスを使用していますが、現在のmodelviewコントローラーが値を返すことがサポートされていないため、共有ボタンをクリックするとアプリがクラッシュします。助けてください。
これは私のコードです:
[self presentViewController:facebookPostVC animated:YES completion:Nil];
クラスは UIViewController から継承する必要があり、別のビューによって表示されるビューが必要です。それ以外の場合、オブジェクトをどのように表示できますか?
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIViewController_Class/Reference/Reference.html