在BaseViewController中
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.view.frame = CGRect(x: 0, y: 0, width: LCZWidth, height: LCZHeight)
}
在BaseViewController中
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.view.frame = CGRect(x: 0, y: 0, width: LCZWidth, height: LCZHeight)
}
本文标题:iOS开发适配开启个人热点视图偏移
本文链接:https://www.haomeiwen.com/subject/vtywaftx.html
网友评论