开发者

Add views inside Iphone application

Hey all i've tried to add an other view it work properly but it look like a tableview I want it just like the first one how can i change the view to be like what I want not tableview btw this is my flip button code :

- (IBAction)flip:sender{

    // create a new SecondViewController
   SecondViewController *playback = 
   [[SecondViewController alloc] init];

   // set the transition style to fade
   playback.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;开发者_Python百科
   playback.delegate = self; // set playback's delegate to self

   // show the PlaybackViewController
   [self presentModalViewController:playback animated:YES];
   [playback release]; // release the playback PlaybackViewController
} // end method flip:


SecondViewController *playback

is it a subclass of UITableViewController? if it's a subclass of UITableViewController then it will have a table automatically

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜