ios - Why my view controller modal presented animation is slow on some devices? -


i still cant figure out why modally presented view controller presentation animation slow on iphone 5 or ipad or device got lower cpu ? when tried run on iphone 6 , simulator,it presented , smooth well.but,when tested on ipad mini 1 , iphone 5,it appear after 2 or 3 second later.any animation speed?

here advance search view presented modally when click navigation left bar button.

advance search view

was because used lot of ui components such uipickerview,uidatepicker,uitextfield,uisegmentcontrol or static table cell?

or there wrong viewdidload() method initialize many array uipickerview objects?

u have delay because manny objects must initialized in viewdidload. u can repace code viewdidapear.

or u can try initialized u objects in background threed this.

- (void)viewdidload {         dispatch_async (dispatch_get_main_queue(), ^{               // initialize objects         }); } 

Comments