To support iOS7, you need to upgrade to Pugpig 2.0.
You should also consider the following:
Apple has decided that iOS7 should assume you'd want to add an inset in any
UIScrollView by default, but then points out you'll probably want this switched off if using more than one scrollview; unfortunately, this doesn't usually play well with our
KGPagedDocControl. This behaviour occurs at the
UIViewController level, so needs to be specified as such:
DocumentViewController's init method, add:
if ([self respondsToSelector:@selector(setAutomaticallyAdjustsScrollViewInsets:)]) [self setAutomaticallyAdjustsScrollViewInsets:NO];
To avoid compiler warnings in older versions of Xcode, you can 'fake' the presence of this method by adding a category on
UIViewController. Above @implementation in
@interface UIViewController() - (void)setAutomaticallyAdjustsScrollViewInsets:(BOOL)adjust; @end
This issue may also affect your
KGDocumentPicker - if this is the case, follow the same pattern to rectify the problem in your
Full Screen Content
UIViewController behaviour for iOS7 is now for the content to extend to cover the entire screen. The status bar, navbars and toolbars are overlaid over the content, usually semi-transparent with a strong blur applied.
Content that relies on specific pagedDocControl sizes to display properly is particularly at risk, as the height of the viewController (and thus in all likelihood the pagedDocControl it contains) is likely to be at least 20-64px bigger.