就无法移动到下一个屏幕。
[[Twitter sharedInstance] logInWithCompletion:^(TWTRSession *session, NSError *error) {
if (session) {
NSLog(@"signed in as %@", [session userName]);
NSString *userStr = [session userName];
NSString *userStr1 = [session userID];
UIStoryboard *strory = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
phoneViewController *editobj = [strory instantiateViewControllerWithIdentifier:@"phoneViewController"];
[self presentViewController:editobj animated:YES completion:nil];
} else {
NSLog(@"error: %@", [error localizedDescription]);
}
UIStoryboard *strory = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
phoneViewController *editobj = [strory instantiateViewControllerWithIdentifier:@"phoneViewController"];
[self presentViewController:editobj animated:YES completion:nil];
}];