MGTwitterEngine 无法在 iPad 上运行
您好,如何在 iPad 上使用 MGTwitterEngine...
我已在 viewDidLoad 上添加了此代码,但未调用 PresentModelViewController 我已经调试了代码...请让我知道我做错了什么:
- (void)viewDidLoad {
[super viewDidLoad];
if(_engine) return;
_engine = [[SA_OAuthTwitterEngine alloc] initOAuthWithDelegate:self];
_engine.consumerKey = consumerKeyString;
_engine.consumerSecret = consumerSecretKeyString;
UIViewController *controller = [SA_OAuthTwitterController controllerToEnterCredentialsWithTwitterEngine: _engine delegate: self];
if (controller)
[self presentModalViewController: controller animated: YES];
else {
tweets = [[NSMutableArray alloc] init];
[self updateStream:nil];
}
}
presentModelView 已被调用,但 Twitter 登录视图未启动..请告诉我谢谢
我正在使用 iOS 3.2
Hello how to use MGTwitterEngine on iPad...
i have add this code on viewDidLoad but presentModelViewController is not call i have debug the code... please let me know what i do wrong:
- (void)viewDidLoad {
[super viewDidLoad];
if(_engine) return;
_engine = [[SA_OAuthTwitterEngine alloc] initOAuthWithDelegate:self];
_engine.consumerKey = consumerKeyString;
_engine.consumerSecret = consumerSecretKeyString;
UIViewController *controller = [SA_OAuthTwitterController controllerToEnterCredentialsWithTwitterEngine: _engine delegate: self];
if (controller)
[self presentModalViewController: controller animated: YES];
else {
tweets = [[NSMutableArray alloc] init];
[self updateStream:nil];
}
}
the presentModelView is call but twitter login view is not intiated .. please tell me thanks
I am using iOS 3.2
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论