Permalink
Browse files

修改了认证之后回调的对象

  • Loading branch information...
1 parent faa0f11 commit d32c7c0afb7441d2cd5612a10a860c20dba79328 @qdvictory committed Aug 23, 2011
Showing with 13 additions and 0 deletions.
  1. +13 −0 README.md
View
13 README.md
@@ -7,6 +7,19 @@
[[WBShareKit mainShare] handleOpenURL:url];
return YES;
}
+
+ - (void)sinaSuccess:(NSData *)_data
+ {
+ NSLog(@"sina ok:%@",_data);
+ }
+
+ - (void)sinaError:(NSError *)_error
+ {
+ NSLog(@"sina error:%@",_error);
+ }
+
+ //[[WBShareKit mainShare] startSinaOauthWithSelector:@selector(sinaSuccess:) withFailedSelector:@selector(sinaError:)];
+ //如上认证代码添加的@selector也将会在此调用
3.在info.plist中修改url types

0 comments on commit d32c7c0

Please sign in to comment.