After upgrade to iOS 11.3 web app does not show full screen per apple-mobile-web-app-capable

تعرفه تبلیغات در سایت
عنوان عکس
عنوان عکس
عنوان عکس
عنوان عکس
عنوان عکس

جستجوگر

یافته ها در جستجو

    امکانات وب

    آرشیو مطالب

    برچسب ها

    Vote count: 0

    I have a web app that contains the meta

    
    

    Before iOS 11.3, when "added to Home Screen" it would then open like a standalone app without the navigation bar.

    After 11.3 it now opens with the navigation bar in the browser.

    asked 1 min ago
    gae123

    1 Answer

    Vote count: 0

    After hours of troubleshooting I found the following that might be helpful for others.

    For Android/Chrome compatibility, I already had the following in my html file:

    
    

    The manifest.json had no "display": "standalone" entry, it just had icons and name defined. It appears that before 11.3 the file was ignored by safari but now it is considered and has precedence over the meta tag apple-mobile-web-app-capable. Since the default for display: is browser, the app was opened inside a browser with a navigation bar.

    When I added the line "display": "standalone" in the manifest file the problem went away.

    answered 1 min ago
    gae123
    نویسنده : استخدام کار بازدید : 7 تاريخ : چهارشنبه 25 بهمن 1396 ساعت: 1:25
    برچسب‌ها :
    اخبار و رسانه هاهنر و ادبیاترایانه و اینترنتعلم و فن آوریتجارت و اقتصاداندیشه و مذهبفوتو بلاگوبلاگ و وبلاگ نویسیفرهنگ و تاریخجامعه و سیاستورزشسرگرمی و طنزشخصیخانواده و زندگیسفر و توریسمفارسی زبان در دیگر کشورها