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

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

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