简体   繁体   中英

jquery mobile fixed navBar position on iOS 4

I am developing an app using jquery mobile and last issue to be solved is compatibility between iOS4 and iOS5. Navigation bar can be fixed easily on iOS5 using position:fixed. However, on iOS4 does not work! I have been trying different methods but none of them quite reliable enough. How to get navigation bar fixed on iOS4 like iOS5 does?? Thank you.

尝试这个..

<div data-role="navbar" data-position="fixed">

scrollView plugin does the trick. No others worked for me

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM