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

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -