mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
Allow MapKitView to deal with orientation changes
This commit is contained in:
@@ -37,6 +37,8 @@
|
||||
mapView.autoresizesSubviews = YES;
|
||||
mapView.userInteractionEnabled = YES;
|
||||
mapView.showsUserLocation = YES;
|
||||
mapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
|
||||
childView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
|
||||
|
||||
imageButton = [UIButton buttonWithType:UIButtonTypeCustom];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user