【发布时间】:2011-11-26 23:00:05
【问题描述】:
我已经从https://github.com/ResultsDirect/LinkedIn-iPhone 下载了源代码。演示工作正常,并尝试在我的应用程序中使用。
我已经按照post 中提到的所有步骤...
但我得到了错误
"_OBJC_CLASS_$_RDLinkedInEngine", referenced from:
"_OBJC_CLASS_$_RDLinkedInAuthorizationController", referenced from:
当我评论 RDLinkedInEngine 和 RDLinkedInAuthorizationController 的行时,错误被删除
- (void)loadView {
[super loadView];
// rdEngine = [[RDLinkedInEngine engineWithConsumerKey:kOAuthConsumerKey consumerSecret:kOAuthConsumerSecret delegate:self] retain];
}
- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
// if( !rdHasAppeared ) {
// UIViewController* controller = [RDLinkedInAuthorizationController authorizationControllerWithEngine:rdEngine delegate:self];
// if( controller ) {
// [self presentModalViewController:controller animated:YES];
// rdHasAppeared = YES;
// }
// else {
// NSLog(@"Already authenticated");
// }
// }
}
我的应用程序已经从源代码 https://github.com/bengottlieb/Twitter-OAuth-iPhone 集成了 MGTwitterEngine,这很好。
阿米特巴坦
【问题讨论】:
标签: iphone-sdk-3.0 sdk linkedin