-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS8+ orientation issues #24
Comments
This appears to be a workable solution
|
The rotation methods are actually only used for logging of active style declaration in the sample code - InterfaCSS itself actually doesn't depend on those rotation methods. An update of the sample code is underway. |
So I may have a bug in my code, but when I comment out the 'rotation' call in my viewcontroller - I can end up with styles that get mixed up if they are in portrait or landscape ( I styled a background color of a label in a collectionviewcell as red when in landscape). I thought this was a required call - since it fixed me in the short term. |
in the current SimpleSample example, the implementation used the methods
both of these are marked as deprecated in iOS8. InterfaCSS seems to depend on a trigger to restyle the views after rotation occurs (example shows the call being made in didRotateFromInterfaceOrienation)
Is there a suggested pattern to follow to ensure that styles are kept up to date in iOS8 or higher targets?
The text was updated successfully, but these errors were encountered: