Fix mixing of UIInterfaceOrientation enum with UIInterfaceOrientationMask enum.
Guard against returning 0 from supportedInterfaceOrientations.

Returning 0 from this method causes an exception to be thrown.
Improve behavior when the root view controller on the key window is nil.

Take the default values rather than whatever happens to be 0 if we don’t have a view controller to ask.
Work around deprecation warnings when deployment target >= 7.0

We still support back to deployment target 6.0, but this is nicer for users of the library that no longer support 6.0.
Fix getter override type mismatch.

Oops! Caught by running with -Weverything.
Add missing [super viewWillAppear:] calls caught by the static analyzer.
Bump version in FLEX.podspec