iOS のみの JQM スタイルを変更する最良の方法は次のとおりです。
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
この隠しヘッダーを修正するには?そのためのプラグインはありますか?
iOS のみの JQM スタイルを変更する最良の方法は次のとおりです。
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
この隠しヘッダーを修正するには?そのためのプラグインはありますか?
1番目)クライアントが使用しているOSを検出します。
osInfo.ios = navigator.userAgent.match(/(iPhone|iPod|iPad)/);
osInfo.android = navigator.userAgent.match(/Android/);
osInfo.blackberry = navigator.userAgent.match(/BlackBerry/);
2番目)CSSを適用して、iOSの位置を修正します
if(osInfo.ios)
{
//something here
}
PS私があなたを正しく理解したことを願っています