Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences between iOS 7 to iOS 7.1

Just updated my Xcode to 5.1 and the iPhone i work on to the 7.1.0. A lot of apps that I have made, I have to redesign for the new iOS, because whenever you used a UINavigation bar, the Y point of your UITableView in UITableViewController would be the actual screen coordinate, so you would have to add 64 every time, or UINavigationBar.size.height.

Now this is changed, there is no need to add 64, the new 0 point is just after the navigation bar.

Did anyone notice any ether differences?

And does anyone now how will the changes effect the users how did not update to 7.1.0?

like image 559
MCMatan Avatar asked Mar 12 '14 14:03

MCMatan


1 Answers

I ran into the same issue and found that including

    [self.navigationController.navigationBar setTranslucent:NO];

helped to resolve my issue. I noticed that if I brought my tables and data up to the top in the xib file to match how 7.1 handles it...it messed it up for 7.0. Including the code above while having the content at the top of the xib file proved to work for both 7.0 and 7.1.

Hope that helps,

Wes

like image 65
Wes Avatar answered Oct 18 '22 17:10

Wes