iOS8 MKMapView Framebuffer error during rotation when autoresize is applied

前端 未结 2 1952
情深已故
情深已故 2021-02-06 06:56
#import \"AppDelegate.h\"
#import 

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:           


        
相关标签:
2条回答
  • 2021-02-06 07:53

    I had this issue recently and adding the constraints in code worked until I updated the app to be iPhone 6/ 6+ optimized, in that case I could still see the errors in the console log and it was in a bright pink color.

    The best solution was to add the MKMapView directly on the storyboard, all messages and weird color behaviors were solved

    0 讨论(0)
  • 2021-02-06 07:56

    I am also experiencing this, and have found that it only seems to occur with the resizing options selected (i.e. resize height and width with as view resizes). I'm not using Auto Layout.

    If I just add a MKMapView to a view, it's no problem, but if I select the resizing, it generates the same messages as shown above.

    (Sorry that this is a comment not an answer, but I can't add comments on 1 vote, and I thought this may help diagnose the issue)

    UPDATE - I have installed 8.1 Beta on one of my test devices, and I am NOT experiencing this issue. There is a good chance this is an issue that's being swept under the 8.1 carpet :)

    0 讨论(0)
提交回复
热议问题