Open a post not regularly updated, recorded the experience of the iOS bugs, some of them have been solved, some are still no solution, some are Apple's own improvements, but it really pits us
UIWebView memory leaks
There is no solution to the iOS7, iOS8 not seen
Uifont copy under IOS6 crash
I don't know why, maybe it was the black magic that coder used.
Uitextview and Uitextfield have different order of messages on the keyboard
// UIKeyboardDidShowNotification ---> UITextViewTextDidBeginEditingNotification// UITextFieldTextDidBeginEditingNotification ---> UIKeyboardDidShowNotification
This can not be considered a bug, but sometimes just want to execute didbeginediting message to get the pop-up keyboard sender embarrassed to do it?
The following code IOS7 below (sdk7.1) Superview is uidropshadowview,ios8 below (sdk8.0) 2 is nil
[self presentViewController:vc animated:NO completion:^{ UIView *view = vc.view.superview; NSLog(@"1:%@", view); }]; UIView *view = vc.view.superview; NSLog(@"2:%@", view);
The general use of this property is to modify the rendered view size, after SDK7 can be used Preferredcontentsize
iOS7 The window will not turn when the screen is turned, iOS8 rotation
This leads to some uiwindows-dependent controls that are tragic.
Window.location
In the iOS8 Web page with window.location= "xxx://yyy" can be adjusted to register the XXX app, but under iOS8, the end with ' = ' URL is not adjustable app.
Workaround
var ithunderframe;Ithunderframe = document. createelement("iframe");Ithunderframe. SetAttribute("src", Sdownloadurl);Ithunderframe. SetAttribute("Style","Display:none;");Ithunderframe. SetAttribute("Height","0px");Ithunderframe. SetAttribute("width","0px");Ithunderframe. SetAttribute("frameborder","0");Document. Body. AppendChild(Ithunderframe);Ithunderframe. parentnode. RemoveChild(Ithunderframe);
Record the bugs that you encounter under iOS