Skip to content

Commit eafcb29

Browse files
committed
Update map settings VC to show modal full screen
* When shown as a modal sheet the map VC viewWillAppear is not called which causes problems as the map delegate is not properly set back up.
1 parent 57d8e73 commit eafcb29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mage/MapSettingsCoordinator.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ - (void) start {
4242
self.settingsNavController = [[UINavigationController alloc] initWithRootViewController:settings];
4343
self.settingsNavController.delegate = self;
4444

45-
self.settingsNavController.modalPresentationStyle = UIModalPresentationPopover;
45+
self.settingsNavController.modalPresentationStyle = UIModalPresentationFullScreen;
4646
UIPopoverPresentationController *popoverPresentationController = self.settingsNavController.popoverPresentationController;
4747
popoverPresentationController.sourceView = self.sourceView;
4848
popoverPresentationController.sourceRect = CGRectMake(0, -5, self.sourceView.frame.size.width, self.sourceView.frame.size.height);

0 commit comments

Comments
 (0)