I have an openGL/audio iOS application and several UIViewControllers that are presented (popovers or modal views) when a button is pressed. When the controllers are created/shown they pause the main openGL/audio thread for .5-1 second while opening.
为了打击这种情况,我尝试在申请负荷时,而不是每次再使用时,分配所有观点控制员(而不是许多人)。 然而,即使他们提前重新拨款/重新拨款,他们第一次再次表明,他们仍然缓慢到来,并暂停主线。 每一次装载一次后,越快,不停。
Is there a way to preload the UIViewControllers? It seems that allocating from nib is not the slow down (since that occurs when the app starts) and therefore it s something with presenting the view. Each UIViewController UIView only has 4-5 sliders and 2-3 buttons. There really isn t that much where it should take time to load.
是否有办法利用这种how避免滞后? 根据我的理解,科索沃信托公司分子只能在主线上运行。