开发者

PresentModalViewController on IPhone applications

i have an application with many views ( about 20 view ) these views are开发者_如何学Python populated using (PresendModalViewController), and populated in a number of times through a loop ( let's say that 1,2,3,4,5...20 then 1,2,3,4....20 an so for) my question is , shall i dismiss the previous view each time i populated the next one?


why not see this

for(int i=1;i<=20;i++)
{
   if(i>1)
    [self.navigationController dismissModelViewControllerAnimated:YES];
   [self.navigationController presentViewController:youobj animated:YES];
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜