0

I have a simple MobileFirst hybrid app with only html, js, no native call. When install and run the app on iOS and Android, pages are not zoom-able. If run it in mobile browser like preview, pages are zoom-able. The viewport meta tag in the html head section is set as "<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes">". Is there any other configuration need to be set to make the app zoom-able?

1 Answer 1

1

That's because while the app is created using HTML, etc... it's still an app - not a web page, and so makes it sense that it will not be zoomable. You don't want your app to feel like a webpage, but like an app.

For example, you can review Apple's page on Do and Don't when creating an application: https://developer.apple.com/design/tips/

Your application's design should be with the mindset of an app - fitting the screen, not dense, etc...

7
  • Thank you very much for your answer. I would like the whole page be zoomable for all environment, not just a specific area. Is there any api to globally set it? Feb 12, 2015 at 17:06
  • @JenniferHu, What is the purpose of pinch & zoom in your app?
    – Idan Adar
    Feb 12, 2015 at 17:11
  • I guess for accessibility reason. For example, we have lot of forms, it is easier to enter data when zooming. Feb 12, 2015 at 17:35
  • I'm sorry, but I disagree, how would zooming help here? you are supposed to develop your application in a manner that befits a mobile app, not as a webpage. Zooming is absolutely the WRONG solution. Even if there are a lot of buttons - you're supposed to design the UI of your app and not cramp them all together... you are thinking in the wrong way about app devleopment.
    – Idan Adar
    Feb 12, 2015 at 17:43
  • I do see lot of mobile apps are zoomable, and we want our app be zoomable too. If making the whole page zoomble is not possible, we would like to make some field zoomable, e.g. an input field in html. How do we do that? Feb 12, 2015 at 17:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.