Reputation: 4662
Here it is. I created an UITableView
in current controller, and it's static cell type. When I touched the button, will push this controller to UINavigationController, I found that it will take 3s delay to open, that's slow, sometimes we will think that we didn't touch the button correctly, kind bad UX.
So I tried Time Profile Tool and saw it invoke Calendar library, I tried to remove these two UIDatePicker
from UITableView
, and try it again, yes it's quick as its used to be around 1s.
So the question is how to remove this delay while it's still loading UIDatePicker
in it?
Upvotes: 1
Views: 758
Reputation: 28
Loading that many UIDatePickers via Storyboard is sure to slow down your navigation.
My application required data on display so I created mine in viewWillAppear
Upvotes: 1
Reputation: 4662
Solved.
Then its energy back.
Upvotes: 0