Issues and adaptations after IOS 11 update and after iphone X is launched

Source: Internet
Author: User

1.UITableView Slide the right side of the slider on the long and short jumps and Mjrefresh to refresh the dead loop

This is because TableView uses Self-sizing,tableview estimatedrowheight, Estimatedsectionheaderheight, and iOS11 by default. Estimatedsectionfooterheight three height estimation properties are changed from the default of 0 to Uitableviewautomaticdimension,mjrefresh KVO will listen for the wrong contentoffset, Causes a pull-up load operation to continue,

The workaround can then globally set the default value of the above 3 properties to 0

000;

2. Contentsize in iOS 11 tableview 64 height by default

Uiviewcontroller in iOS 11 automaticallyadjustsscrollviewinsets The property is discarded and replaced by the Uiscrollview Contentinsetadjustmentbehavior property, and the default value can be changed as well.

if 11.0, *)) {    =else  {    //  Fallback on earlier versions = NO ;}     

However, this is written in the call album when the introduction of the System album when the system page Contentsize down to cancel the removal of a major problem, so that the above default values are removed in the specific interface to modify

3. The project is running on iphone x with huge black edges up and down

WORKAROUND: Because the project is using assets in the launchimage, so you can modify the Launchimage in assets, add Iphonex launch Diagram (1125*2436) can, but

Before IOS 11, the height of the navigation bar was 64, where the height of the status bar StatusBar was 20, and the height of the bottom Tabbar was 49.

After IOS 11, the height of the Iphonex navigation bar is 88, where the statusbar height of the status bar becomes 44, and the Tabbar at the bottom becomes 83.

The bottom of the Iphonex adds the virtual home area, because the security zone causes the default Tabbar height from 49 to 83, which increases by 34, so the custom bottom tabbar also needs to modify its adaptation scheme.

First Mitsuo

Issues and adaptations after IOS 11 update and after iphone X is launched

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.