views:

123

answers:

0

i m developing ipad app and using MPMoviePlayerViewController in it to play videos.. it works ok everything.i set frame of MPMoviePlayerViewController in potrait mode.that is half of potrait scree. but in landscape mode i want movie to play in full screen. so i set frame accordingly. now when i launch app in potrait mode .. i works ok as i define. now i rotate to landscape it turns video to full screen. but now problem starts. when i rotate back to potratit whole thigs change.. no frame set as i was defined. and movieplayercontroller take its own frame..

is anyone face this problem and found its solutions.??. plz help.