I use the share parameter in my application using the UIActivityViewController ; it works fine in iOS 9.2, and the Google+ sharing option doesn't work in iOS 9.3
To confirm this, I downloaded another application that has a share option using the UIActivityViewController , and the problem is that the entire user interface of the application is hanging.
How can I solve this problem?
Change 1: code:
NSURL * URL = [[NSURL alloc]initWithString:@"http://domainName/message.php?"]; NSMutableURLRequest* request = [NSMutableURLRequest requestWithURL:URL cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:60.0]; [request setHTTPMethod:@"GET"]; NSString *tempEmailId = (NSString *)[[NSUserDefaults standardUserDefaults] objectForKey:CURRENT_USER_EMAIL_ID_UD_KEY]; NSString *tempPassword = (NSString *)[[NSUserDefaults standardUserDefaults] objectForKey:CURRENT_USER_PASSWORD_UD_KEY]; NSString *basicAuthCredentials = [NSString stringWithFormat:@"%@:%@", tempEmailId, tempPassword]; [request setValue:[NSString stringWithFormat:@"Basic %@", AFBase64EncodedStringFromString(basicAuthCredentials)] forHTTPHeaderField: @"Authorization"];
NOTE: Mail, Twitter and Evernote work. Only Google+ is hanging.
Edit 2:. I donβt know for sure, but I think it is not associated with a public URL. If this is related, please let me know HOW?
ios google-plus uiactivityviewcontroller
Lion
source share