标签: objective-c ios mpmovieplayercontroller
在我的应用程序中,我需要限制MP电影播放器的纵向视图。我想知道如何在MP movie player.m文件中覆盖shouldAutorotateToInterfaceOrientation函数,还是可以的?
答案 0 :(得分:0)
是的,可以在shouldAutorotateToInterfaceOrientation中仅为纵向方向返回YES。