iphone - UIModalTransitionStyleFlipHorizontal flipSideView always at top -


i want flipsideview takes middle part of screen. when this, flips entire iphone screen , forth. thought if created smaller container view , made flipside that, flip size of view. (kinda in itunes app when choose listen sample of song , little button on left flips over).

the problem i'm having though have container smaller 320x480, when flip still uses entire screen.

i'm using method default 'utility' application. i've tried moving view place when flips, doesnt help


figured out. need change center of each view in these spots

// called when flipside dismissed button - (void)flipsideviewcontrollerdidfinish:(flipsideviewcontroller *)controller {      [self dismissmodalviewcontrolleranimated:yes];     self.view.center=cgpointmake(self.view.center.x, self.view.frame.size.height/2+44); }  // called when button pressed flip - (ibaction)showflipside:(id)sender  {         [self presentmodalviewcontroller:listview animated:yes];         listview.view.center=cgpointmake(listview.view.center.x, listview.view.frame.size.height/2+44); } 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -