Problems encountered today, solve the UITableView page above the content is first covered by the navigation bar, and then move down the problem (lazy loading sometimes not good!)

Source: Internet
Author: User

Today we need to connect the interface to the colleague's code, but find a problem, the coordinate system has changed. In general, we will now create the UITableView in the viewdidload, but this time I was viewdidload to send an HTTP request to create, and then caused the request back UITableView the content of the page is first moved up by the navigation bar overlay, Then I moved to the position I specified, I have been unable to, tried and tried again, the reason is that I did not create UITableView in the Viewdidload the first time, in the request back to create, which led to UITableView on the page content Y coordinate value from 0 to 64, This causes the navigation bar to be overwritten first and then offset downward.   (More ridiculous is, I actually still on the tableview with lazy loading, haha, embarrassed ~) can, sleep. Hao elder brother to resign, wish him to find a better job, together refueling ~

Problems encountered today, solve the UITableView page above the content is first covered by the navigation bar, and then move down the problem (lazy loading sometimes not good!)

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.