Some webapps are in the form of native shells, providing a browser webview and published in the appstore or various application stores. Then in different systems, such as ios and Android systems, these webapps downloaded from the store What does the browser kernel look like?
If we all use the -webkit-kernel, do we need to consider less compatibility during development (only apps in the form of native shells are considered, and web browsing through various browsers does not count)?
I am new to front-end and have no idea about webapp development. If I want to release a shelled native app on iOS, do I need to learn a little bit about objective-c?
过去多啦不再A梦2017-07-05 10:52:42
The kernels of browsers on smartphones iOS and Android are basically based on webkit, which is good news for web compatibility. However, different webkit versions have different implementations of js, especially support for es2015. Different mobile operating system versions may integrate different versions of webkit. When developing web pages, you still need to consider the minimum supported version of the operating system, otherwise You need to sacrifice many new features that are only available in new versions of js.
You still need to have simple Objective-C knowledge. It takes about a week to build the most basic development environment, purchase a development certificate, understand the process of listing on the AppStore, and develop a simple Hello World program, which will be helpful for future development. help.
If you only consider cross-platform development for mobile phones with different operating systems, webkit programs with shells are not necessarily the ideal choice. You can consider ionic or react native, both of which are developed in JavaScript language, but the compiled results are native iOS applications and Android applications, which are far superior to webkit shell applications in terms of performance and experience.