Status bar height changes after playing a Youtube video

空扰寡人 提交于 2019-12-25 02:07:26

问题


I have this Web view that loads a list of videos in youtube. After I select and play any of this videos, the Web view is shifted 20 pixels up. I've printed values of status bar before and after playing the video and the height changes from 20 to 0, and this remains across all the app. This only happens with iOS 6, tested in iOS 5 and looks ok


回答1:


Solved the problem, is very similar to this Modal dismissals do not account for status bar (new iOS 6 issue?) . I'm using a VC that is not returning the correct supported interface orientations. After changing this, the Web view is always in the right place.



来源:https://stackoverflow.com/questions/15483717/status-bar-height-changes-after-playing-a-youtube-video

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!