IOS7 Adaptation issues

Source: Internet
Author: User

iOS7 Adaptation Issues
2013-09-28 08:32:37 I'd like to say two frozen penguin favorites.
I want to contribute
IOS 7 is released, the adaptation problem comes, and the developers are busy. Remember a few features of a iOS7:1. Coordinates: In the upper-left corner of the screen as the origin (IOS7 previously in the status bar or under the navigation bar) 2.UIScrollView (including its subclasses, such as UITableView): Some white space is automatically reserved at the top and bottom (because scrolling passes through a translucent navigation bar or Tabbar below, you need to be able to see the effect vaguely), Whether to reserve whitespace can be controlled by this property of Uiviewcontroller's Automaticallyadjustsscrollviewinsets (default Yes, which indicates reserved whitespace). These can be found as long as you develop with iOS. Recently encountered a problem: a controller in the project has a waterfall stream and a table, found that the top of the waterfall flow reserved blank, and table did not, find a lot of information, finally found the reason: In a controller, the occurrence of Uiscrollview (including its subclasses), Whitespace must be first added to the controller's view, where the first is relative to all sub-views, not just other uiscrollview (including its subclasses). So how do I solve the problem, or is this attribute automaticallyadjustsscrollviewinsets, look at its documentation carefully, it says, if a controller appears with more than two uiscrollview (including its subclasses), This property needs to be set to No. That is, no whitespace is reserved, so all Uiscrollview in the controller (including its subclasses) need to be reset.

IOS7 Adaptation issues

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.