iOS: different addSubview behavior between iOS 4.3 and 5.0

前端 未结 7 2029
长发绾君心
长发绾君心 2021-01-30 11:32

while coding in iOS 4.3 before, I found while add a view controller\'s view to another view with [superview addSubView:controller.view], the controller instance wil

相关标签:
7条回答
  • 2021-01-30 11:54

    By this method u know which os u use and put condition if is less then 5.0 or other one

    [[UIDevice currentDevice] systemVersion]

    0 讨论(0)
提交回复
热议问题