Correct orientation after UIActivityViewController is dismissed
问题 I am presenting UIActivityViewController from my controller. I've encountered issues with rotations. After some data sharing option is chosen, let's say "Mail", mail compose view controller is presented. But if I rotate the device and dismiss the mail controller afterwards, my VC is not rotated to the current orientation. I've tried to set up the completion handler for UIActivityViewController as following: 1) [activityViewController setCompletionHandler:^(NSString *activityType, BOOL