#import "AppDelegate.h"
#import <MapKit/MapKit.h>
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions: (NSDictionary *)launchOptions
{
[self setWindow:[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]];
[self.window makeKeyAndVisible];
UIViewController *vc = [[UIViewController alloc] init];
self.window.rootViewController = vc;
vc.view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
MKMapView *map = [[MKMapView alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
map.autoresizingMask = UIViewAutoresizingFlexibleHeight;
[vc.view addSubview:map];
return YES;
}
@end
समस्या देखते हैं, इसके बाद के संस्करण कोड चलाने के लिए और सिर्फ डिवाइस को घुमाने के लिए। घूर्णन एनीमेशन के लिए आपको एक महत्वपूर्ण देरी का अनुभव होगा।रोटेशन के दौरान iOS8 MKMapView फ्रेमबफर त्रुटि autoresize लागू किया जाता है
आप एक iOS8 iPad कनेक्ट और सिम्युलेटर चलाते हैं, आप प्राप्त करेंगे इन चेतावनियों:
क्रैश! 0x15dd7980
त्रुटि /SourceCache/VectorKit/VectorKit-992.16/GeoGL/GeoGL/GLCoreContext.cpp 1237: फ्रेमबफर अधूरा, अधूरा लगाव
किसी को भी पता है कि इस समस्या को दूर करने के लिए?
हल किया गया मैं एक ही सटीक समस्या और त्रुटि थी। इसे हल करने के लिए ऑटोलाउट का उपयोग करने के लिए कनवर्ट करें। अगर कोई इस बारे में ऐप्पल को बग सबमिट करेगा तो अच्छा होगा। – AmitP
@AmitP आप यहां ऐप्पल को एक बग रिपोर्ट सबमिट कर सकते हैं: https://developer.apple.com/bug-reporting/ इसके अलावा, यहां अपनी बग रिपोर्ट डुप्लिकेट करें, इसलिए शेष डेवलपर समुदाय इसे देख सकता है: https: // openradar.appspot.com/ – stevekohls