SLComposeViewController *controller = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeTwitter];
controller.view.hidden = YES;
[self presentViewController:controller animated:NO completion:^{
[controller.view endEditing:YES];
}];
This code working fine in iOS6 & iOS7 but it get crash in iOS 8:
**2014-09-03 08:48:19.545 [1254:248164] Error: The operation couldn’t be completed. (com.apple.accounts error 6.)
2014-09-03 08:48:19.558[1254:248164] Discovered extensions: {(
<NSExtension: 0x17013eaa0> {id = com.apple.share.SinaWeibo.post},
<NSExtension: 0x17013ee60> {id = com.apple.share.Facebook.post},
<NSExtension: 0x17013ebe0> {id = com.apple.share.Twitter.post},
<NSExtension: 0x17013f400> {id = com.apple.share.TencentWeibo.post},
<NSExtension: 0x17013e780> {id = com.apple.share.Vimeo.post},
<NSExtension: 0x17013e6e0> {id = com.apple.share.Flickr.post},
<NSExtension: 0x17013e640> {id = com.apple.mobileslideshow.StreamShareService}
)} for attributes: {
NSExtensionPointName = "com.apple.share-services";
}**
Get error message for :: **LaunchServices: invalidationHandler called**