Skip to content

屏幕高度是896的Max和XR导航栏问题。修改isiPhone X 即可。 #31

@WolfSamWell

Description

@WolfSamWell

见代码。 2个地方都要修改。
class func isIphoneX() -> Bool {
// return UIScreen.main.bounds.equalTo(CGRect(x: 0, y: 0, width: 375, height: 812))
if (UIScreen.main.bounds.height >= 812) { return true}
else{return false}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions