开发者

Add views inside Iphone application

开发者 https://www.devze.com 2023-01-11 08:06 出处:网络
Hey all i\'ve tried to add an other view it work properly butit 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

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

精彩评论

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