Record the bugs in ios

Source: Internet
Author: User

Record the bugs in ios

Posts are occasionally updated. Some of the ios bugs files are recorded. Some of them have been resolved, some are still unresolved, and some are apple's own improvements, but they are indeed stuck to us.

UIWebView Memory leakage

There is no solution under ios7, and ios8.
UIFont copy crash in ios6

I don't know why. Maybe it's the black magic that the previous coder used.

The order of messages on the keyboard of UITextView and UITextField is different.
// UIKeyboardDidShowNotification ---> UITextViewTextDidBeginEditingNotification// UITextFieldTextDidBeginEditingNotification ---> UIKeyboardDidShowNotification

This is not a bug, but sometimes it is necessary to execute the DidBeginEditing message first to get the sender handler that causes the keyboard to pop up.
The code below under ios7 (sdk7.1) superview is UIDropShadowView, and under ios8 (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);

Generally, this attribute is used to modify the size of the rendered view. After sdk7, preferredContentSize can be used.
Ios7 does not rotate the window during screen conversion, and ios8.

This leads to the tragedy of some controls that depend on UIWindows.

Window. location

Use window in the ios8. location = "xxx: // yyy" can call an app registered with xxx, but under ios8, the url with '=' At the end cannot call the app.
Solution

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);

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.