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.