我在emits 时修改UIView高度时遇到问题.
我必须查看,我希望其中一个屏幕大小为*70,另一个填补空白.
这是我的
@IBOutlet weak var questionFrame: UIView!
@IBOutlet weak var answerFrame: UIView!
let screenSize:CGRect = UIScreen.mainScreen().bounds
和
questionFrame.frame.size.height = screenSize.height * 0.70
answerFrame.frame.size.height = screenSize.height * 0.30
它在运行时对应用程序没有影响.
我做错了吗?