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

'frame' is only available on iOS 12.0 or newer #28

Open
wjsimard opened this issue Sep 18, 2018 · 2 comments
Open

'frame' is only available on iOS 12.0 or newer #28

wjsimard opened this issue Sep 18, 2018 · 2 comments

Comments

@wjsimard
Copy link

Building with Xcode 10 leaves this message in GLNotificationBar.swift line 592 :
'frame' is only available on iOS 12.0 or newer.

@StellarKuldeep
Copy link

@wjsimard I have the same issue. Did you found any solution?

@Kernelzero
Copy link

use this code when iOS 12 earlier

let frame = toObject.frame

to

let toObject:UIView = toObject as! UIView
let frame:CGRect? = toObject.frame

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

3 participants