couchbaselabs / ToDoLite-iOS

To-Do list sample app for Couchbase Lite, native iOS version
85 stars 41 forks source link

Update the application to be iOS7 compliant #2

Open tgrall opened 10 years ago

tgrall commented 10 years ago

When I try to use the iOS 7 simulator the application does not work.

The Main screen with the list of "List" works as expected. But when I go to the details screen, with the list of item, it does not work. It looks to me that in iOS 7 the menu of the top hide the entry field.

see attached screen shot. image

snej commented 10 years ago

Can you be more specific about what doesn't work and what goes wrong?

tgrall commented 10 years ago

Sorry I quickly capture that to be sure I do not forget about it, let me edit it with more details.

ijokarumawak commented 10 years ago

I am having the same problem. Since iOS 7, the height of navigationBar has changed and it hides the text box to input new task.

Adding these two lines of code at the end of ListController.m viewDidLoad fixes this problem.

if ([self respondsToSelector:@selector(edgesForExtendedLayout)])
        self.edgesForExtendedLayout = UIRectEdgeNone; 

I've tested with iOS 6 and 7 simulators, now I can add new task.

http://stackoverflow.com/questions/17074365/status-bar-and-navigation-bar-appear-over-my-views-bounds-in-ios-7

jessliu commented 10 years ago

The app has been updated to be iOS7 compliant. @jchris is this issue still relevant?