需要固定标题在ios7 + [英] Need Fixed Header in ios7+

查看:175
本文介绍了需要固定标题在ios7 +的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要的标题应该固定在顶部,即使当键盘出现。
每当我点击文本框时,键盘出现,包括标题的整个页面移动到顶部,只有通过滚动页面才能看到。我已经设置位置为固定的标题。在没有使用Objective C的情况下,在ios7 +中修复这个问题的最佳解决方案是什么。
我们尝试过这里提供的任何解决方案:

I need the header should be fixed at the top even when the keyboard appears. Whenever i click on the text box the keypad comes up and the whole page including the header is moving to the top and it can be seen only by scrolling the page. I have set the position as fixed for header. What is the best solution to fix this in ios7+ without using Objective C. We have tried with whatever solution that has been provided here :

转换到iOS 7:jQuery的正确视口设置/ iPhone在iPad上查看的Webapps

但它没有工作。任何帮助是赞赏。先感谢。

But it didn't work. Any help is appreciated. Thanks in advance.

推荐答案

似乎没有办法。 iOS只是使所有的是固定的 - 绝对而键盘起来。

There seem to be no way. iOS just makes all that is fixed - absolute while keyboard is up.

这篇关于需要固定标题在ios7 +的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆