Last active
January 1, 2016 06:59
-
-
Save blacklee/8108962 to your computer and use it in GitHub Desktop.
when layoutSubviews do not work
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
当 layoutSubviews 里设置了 frame 但是界面不刷新时,检查一下 xib 里面是不是勾上了 use Autolayout ,把这个去掉就好 | |
When you have set frame in layoutSubviews but it do not refresh the view, we should uncheck the [use Autolayout] in xib. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment