Setting the frame of an UIView does not work

前端 未结 4 1781
说谎
说谎 2020-12-28 16:16

I have a problem with the frame-property in iOS 7. I wanna resize some UIViews in the viewDidLoad-method of my UIViewController, but if I do it lik

4条回答
  •  别那么骄傲
    2020-12-28 16:49

    • Check if you are using autolayout in your xib file. If you don't want to use autolayout, uncheck it in your xib file.

    • Change your self.leftSideTableView frame in -viewWillAppear:.

提交回复
热议问题