devinross / tapkulibrary

tap + haiku = tapku, a well crafted open source iOS framework
http://devinross.com/tapku/documentation
MIT License
3.9k stars 653 forks source link

Top of calendar is cut off #261

Open andrewt3000 opened 11 years ago

andrewt3000 commented 11 years ago

On ios 7, the top of the calendar is cut off by the navigation controls

screen shot 2013-09-21 at 4 47 13 pm

laszlotuss commented 11 years ago

UPD: already fixed: https://github.com/diogovieira/tapkulibrary/commit/802f08cfd7c3dea2832ff28a0a8310c57c30862e

Common issue after use compile with iOS7 SDK, solution:

if __IPHONE_7_0

if ([self respondsToSelector:@selector(setEdgesForExtendedLayout:)]) {
      [self setEdgesForExtendedLayout:UIRectEdgeNone];

}

endif