Search Results

Search found 1 results on 1 pages for 'zelldweller'.

Page 1/1 | 1 

  • Why can't I retrieve UIDeviceOrientation correctly while playing a movie in MPMoviePlayerController?

    - by Zelldweller
    Everything works fine while I'm not playing anything (I'm calling beginnotifications, etc, and using the orientation to rotate my view). But after I start playing with MPMoviePlayerController every time I try a... UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation]; ...orientation gets a UIDeviceOrientationUnknown. Any clue? When the movie stops everything works alright again. I need this orientation to rotate the player's window, because Im using Iphone OS 3.1 so I can't directly use the view property inside MPMovie player controller.

    Read the article

1