开发者

Pre-load image in inactive UITabBarController

I have a UITabBarController that holds several tabs 开发者_C百科of which one tab (third Tab, inactive at startup) contains a very large image.

Since I want to allow quick reaction time once the app is running, I want to load the image during App startup.

How can I "pre-load" this third tab when the app is started without displaying it?

I thought of switching to the tab and back programmatically, but that is a bit odd. I'd like to do the load whilst the application startup screen is still showing.


If you call .view on the UIViewController that is holding the tab, it will force it to load.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜