Permalink
Browse files

Merge remote-tracking branch 'origin/master'

  • Loading branch information...
2 parents 01d8707 + 5655d49 commit bf303cfba878fe2b054ccc312a56b8b43bba06b8 @qdvictory committed Aug 26, 2011
Showing with 26 additions and 0 deletions.
  1. +13 −0 README.md
  2. +13 −0 WBShareKit/README.md
View
@@ -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
View
@@ -7,7 +7,20 @@
[[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
<?xml version="1.0" encoding="UTF-8"?>

0 comments on commit bf303cf

Please sign in to comment.