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.
我正在使用 NSObject 类来实现 facebook 共享,但是当我单击共享按钮时我的应用程序崩溃了,因为当前的模型视图控制器不支持返回值,请帮助我。
这是我的代码:
[self presentViewController:facebookPostVC animated:YES completion:Nil];
你的类应该继承自 UIViewController 并且你应该有一个 View ,它将由另一个视图呈现,否则,如何呈现一个对象?
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIViewController_Class/Reference/Reference.html