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

Xcode12.1 deprecated warning #323

Open
rshimokura opened this issue Oct 22, 2020 · 0 comments
Open

Xcode12.1 deprecated warning #323

rshimokura opened this issue Oct 22, 2020 · 0 comments

Comments

@rshimokura
Copy link

LayoutSupport.swift

    public extension UIViewController {
        var car_topLayoutGuide : LayoutSupport {
            get {
                return LayoutSupport(layoutGuide: self.topLayoutGuide)
            }
        }
        
        var car_bottomLayoutGuide : LayoutSupport {
            get {
                return LayoutSupport(layoutGuide: self.bottomLayoutGuide)
            }
        }
    }

'topLayoutGuide' was deprecated in iOS 11.0: Use view.safeAreaLayoutGuide.topAnchor instead of topLayoutGuide.bottomAnchor

'bottomLayoutGuide' was deprecated in iOS 11.0: Use view.safeAreaLayoutGuide.bottomAnchor instead of bottomLayoutGuide.topAnchor

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