Skip to content

Commit

Permalink
解决关于新版weibo客户端取消授权返回Crash的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
seamus committed Sep 4, 2014
1 parent 939ecac commit e5a1cdf
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
<false/>
<key>IDESourceControlProjectIdentifier</key>
<string>52E13278-07FC-4E9B-8D8B-AE59B4F9E0AD</string>
<key>IDESourceControlProjectName</key>
<string>WBShareKit</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>4CBFA7F2-B2F1-4ABB-85A9-FBC7F7CC7636</key>
<string>https://github.com/qdvictory/WBShareKit.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>WBShareKit/WBShareKit.xcodeproj/project.xcworkspace</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>4CBFA7F2-B2F1-4ABB-85A9-FBC7F7CC7636</key>
<string>../../..</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>https://github.com/qdvictory/WBShareKit.git</string>
<key>IDESourceControlProjectVersion</key>
<integer>110</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>4CBFA7F2-B2F1-4ABB-85A9-FBC7F7CC7636</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>4CBFA7F2-B2F1-4ABB-85A9-FBC7F7CC7636</string>
<key>IDESourceControlWCCName</key>
<string>WBShareKit</string>
</dict>
</array>
</dict>
</plist>
Binary file not shown.
2 changes: 1 addition & 1 deletion WBShareKit/WBShareKit/CHShareManager.m
Expand Up @@ -154,7 +154,7 @@ - (void)handleOpenURL:(NSURL *)_url
{
NSString *str = [NSString stringWithFormat:@"%@",_url];

if ([str rangeOfString:@"user_cancelled"].location != NSNotFound) {
if ([str rangeOfString:@"access_token"].location == NSNotFound) {
[sinaEngine authorize:nil didFailWithError:nil];
}
else
Expand Down

0 comments on commit e5a1cdf

Please sign in to comment.