因此您可以按如下方式获取UIScreen的宽度和高度...
public var screenWidth: CGFloat {
return UIScreen.main.bounds.width
}
public var screenHeight: CGFloat {
return UIScreen.main.bounds.height
}
但是如何获取UIView的宽度和高度?
答案 0 :(得分:1)
strSQL = strSQL & " where student.Studentid=" & objApp.CurrentStudentID