forked from organicmaps/organicmaps
[ios] Fixed sharing on iPad.
This commit is contained in:
parent
b6e6ea7178
commit
cef5626fac
1 changed files with 0 additions and 11 deletions
|
@ -50,17 +50,6 @@
|
|||
[parentVC presentViewController:self animated:YES completion:nil];
|
||||
}
|
||||
|
||||
- (void)viewWillTransitionToSize:(CGSize)size
|
||||
withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator
|
||||
{
|
||||
[self dismissViewControllerAnimated:YES completion:nil];
|
||||
[coordinator animateAlongsideTransition:^(id<UIViewControllerTransitionCoordinatorContext> context) {}
|
||||
completion:^(id<UIViewControllerTransitionCoordinatorContext> context)
|
||||
{
|
||||
[self presentInParentViewController:self.ownerViewController anchorView:self.anchorView];
|
||||
}];
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotate
|
||||
{
|
||||
return YES;
|
||||
|
|
Loading…
Add table
Reference in a new issue