swift - iOS 9: view is not rendered properly after I rotate device -


this custom uiview:

enter image description here

after rotate horizontal, , portrait looks this:

enter image description here

why?

after rotate device method called:

override func traitcollectiondidchange(previoustraitcollection: uitraitcollection?) {     tableview.reloaddata() } 

what doing wrong? works perfect ios8, not ios9


Comments

Popular posts from this blog

json - Zend error Connection -

javascript - Trigger mouseenter when an animated element touches mouse -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -