Skip to content
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

Can't compile with Xcode 10.x #86

Open
jeromeDms opened this issue Feb 27, 2020 · 0 comments
Open

Can't compile with Xcode 10.x #86

jeromeDms opened this issue Feb 27, 2020 · 0 comments

Comments

@jeromeDms
Copy link

Hi
I'm developing on an iMac 2011, unfortunately I cannot install OS higher than High Sierra, thus cannot install Xcode 11, thus cannot run iOS 13.
The current code does not compile because of the following :

if #available(iOS 13.0, *)
        {
            self.overrideUserInterfaceStyle = .dark
        }

The solution would be to enclose a #ifdef __IPHONE_13_0 around this, as described here :
https://stackoverflow.com/questions/58083310/if-availableios-13-0-doesnt-compile-in-xcode-10-3

If you could add this that would be very cool so I can use your framework.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant