uitabbar - ios 10 - UITabBarController UITabBarItem - items slow to render -
upon login initial display of ui worked fine in ios 9 uitabbarcontroller showing icons appropriately in ios 10 there noticeable delay of 5 - 10 seconds without error in log.
i've posted bug apple id- 29127274
the fix below...
-j
here code cause problem:
@implementation mytabbarcontroller
//...
- (void)viewdidload { [super viewdidload]; //the code below causing delay ... worked find in ios9 //tried legacy #define style //[self setselectedindex:int(selectedlandingtotab)]; //tried extern style .... both fail //[self setselectedindex:selectedlandingtab]; } //... @end
if comment out setselectedindex uitabbar shows without delay.
-j
Comments
Post a Comment