I have this strange problem. Everything is working perfect in iOS 7, but on iOS 8 my app crashes in a strange (or not so strange) way. When i rotate my app Shinobi charts produces various crashes with this method “rotatesOnDeviceRotation” (i have set my chart rotatesOnDeviceRotation to NO). For example:
[SChartLightTheme rotatesOnDeviceRotation]: unrecognized selector sent to instance …
[SChartTitle rotatesOnDeviceRotation]: unrecognized selector sent to instance
Now, those errors are only produced in the screen with Shinobi - if i remove shinobi chart from the screen it’s not crashing, which means it’s something related to Shinobi. I have implemented the new “- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator” for iOS 8 too. The Shinobi examples are working fine by themselves, which also means there’s something in my app. But for the life of me - can’t see what’s wrong. If there is a way to supress this method from being sent down the shinobi view hierarchy …
Any help, tips or advices would be greatly appreciated. Thanks!
EDIT: I am also getting this kind of error :
The thing is that i have two different layout for a screen for portrait and landscape and on rotation i am changing the UI completly, including alloc-ing a new ShinobiChart. Also, narrowed it down to upside down orientation - if i don’t go through it everything is fine, but from upside down going to landscape it crashes. I have all the orientations enabled for the app.