Upgrading version 2.5.0 to 2.6.0

Before you start please make sure you back up your code and project and that you are also using the latest official version of Xcode (available from Apple). This guide covers what you need to know since 2.5.0 based on the 2.6.0 release notes listed here.

Autorotation changes

Updated internal Browser and Image view controllers to use updated iOS 7 auto-rotation calls

If you wish to keep the old behaviour you need to now call the following when initialising a VC:

KGBrowserViewController *vc = // init
// normal setup

// additional code to get old behaviour
vc.supportedInterfaceOrientations = [self supportedInterfaceOrientations];

[self presentViewController:vc];

If you want to lock the supported orientations of browser views launched by core in response to users clicking external links in content you can set the default supportedInterfaceOrientations on the class, this default will also apply to all other instantiations of the class.

Sharing Deprecated

Removal of deprecated sharing classes
If you used these interfaces, you will need to switch to the supported versions. The new use is shown in the supplied 2.6.0 template. 



Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Powered by Zendesk