ios - UICollectionView in UITabBar display wrong position on first load -
i have been stuck @ days. problem collection view in tab bar after first load. display incorrectly. if press tab problem disappear forever until app restarted. note it's not white space appearing. whole container getting shift downwards white space appear.
this problem seem exists on iphone , not simulator. tried iphone 4 , 5.
after sec seek think happens in ios 7 , not ios 8
can confirm happens on ios 7. upgraded 1 iphone 5 ios 8 , bug gone while iphone 5 still ios 7 , problem appears every time.
see white space below?
it disappear after press tab
it doesn't come if go original 1
i uploaded illustration project problem here: https://github.com/athiwatc/uitabbardisplaywrongposition
change constraints in next screen shot:
ios swift uicollectionview autolayout uitabbar
No comments:
Post a Comment