Table of Contents
回复内容:
Home Web Front-end H5 Tutorial 为什么苹果还要使用 HTML5 开发 iOS 上的新版 App Store?

为什么苹果还要使用 HTML5 开发 iOS 上的新版 App Store?

Jun 07, 2016 am 08:42 AM
app releases

twitter.com/drbarnard/s
@drbarnard: Isn’t it ironic that just after Facebook releases a more native iOS app, Apple releases a more HTML 5 iOS App Store?

回复内容:

以前appstore也是网页版,但iOS6的内嵌网页明显设计不好,经常出现各种状况,才导致用户发现是html5网页。

应用商店本身是个系统软件,无法独立自己升级,只能跟系统一起升级。同时appstore有安装卸载升级软件等超级权限也不可能以普通的软件发布(如果支持那么意味着存在巨大的安全隐患)。系统软件还能保持灵活网页版是个无奈的选择。

另外应用商店跟其他系统内置应用(相机,相册)最大的区别是一个重度运营的业务。经常需要变更内容,而变更的内容很有可能导致UI框架变化。为了调整方便是个不错的选择。

其实还有一个重要的原因是苹果的appstore有三个版本,网页版,itunes版本,手机客户端版本,采用HTML5的好处可以降低让三个平台尽可能很多研发能够复用,同时解决UI框架以及内容调整一致性。从资源角度来说是个节省资源的选择。

实际上百度的android应用商店也是这样的模式,当时在内部坚持这个方式的时候我被怀疑带领团队偷懒。 这是个很有趣的问题,要解释的话,要从 iOS 程序安装方式来说
现阶段的 iOS 程序只存在两种官方允许的安装方式:企业分发, App Store
实际上呢,这两种程序安装方式是一种
所有 iOS App 都是通过:建立桌面书签->下载软件内容( ipa 或者app 封包)-> iOS 系统验证签名-> iOS 系统解包-> iOS 系统建立索引,安装到位
这种安装方法的第一步:建立书签,最简便的方法就是从网页创建了。事实上苹果系统不允许从其他途径创建桌面书签,所以 App Store 必须有页面元素,至少那个购买按钮要是页面元素

其次, App Store 作为 iOS 上的一个收费软件市场,必须得考虑到各种更新和漏洞修补的问题。按照现在的网页处理方式,一旦出现任何市场漏洞,苹果可以马上通过修改页面来处理;如果 App Store 是本地应用的话,很有可能会出现无法处理的问题,因为大家都知道 iOS 系统内置程序的升级都是和 iOS 系统同步进行的,同时 iOS 内置程序的储存位置、权限这两个关键属性和普通程序是完全不同的,也就是说如果 App Store 作为本地程序存在,出了任何问题,苹果唯一的解决方法就是发布新的 iOS 系统,5.0.1,说实在,这是一个对于苹果来说很尴尬的版本号

=========体内酒精含量:0.4%==========
当然,以上的都是本人一人之言,而且本人并非 iOS 系统专家,如有错误,还请包涵 不管是ios上还是mac上,苹果商店一直都是以web内容呈现的,只不过是现在增加了html5元素而已,何必大惊小怪,一直认为苹果是使用native shell包装html页面达到如火纯青的开发者。 为了满足使用不同国家/地区账号登录后加载不同的UI的需求。在iOS7中,依然如此,因为原生应用不可能做到这一点。
而且不仅App Store,iTunes Store等资料库都是使用HTML。
如果这点你不能理解,请参考iTunes Store:

1.中国区的iTunes绝对是史上最傻逼的App,没有之一:
为什么苹果还要使用 HTML5 开发 iOS 上的新版 App Store?
为什么苹果还要使用 HTML5 开发 iOS 上的新版 App Store?吐槽:两个Tab,分别对应“安装iTunes U”和“安装Podcast”——安装之后呢?变成“打开iTunes U”和“打开Podcast”——你们有没有被雷翻?反正我是翻面了。
但是如果到这你就觉得iTunes傻逼,那就是你傻逼了——井蛙不可语海,夏虫不可语冰(说我自己)。


2.在美国区,iTunes是这个样子:
为什么苹果还要使用 HTML5 开发 iOS 上的新版 App Store?
看出啥叫差异了吧?

所以,这玩意肯定还得用HTML写,是不是5我就不管了。 很浅薄的一个观点。如果是本地的应用,那如果出现bug的时候appstore该如何升级自己? iOS、Google Play、Windows 应用商店 都是这样的设计。

* 对这个场景来说,用户体验与Native差别不大
* App Store 也不是不能升,可以借助系统小更新来完成。但这样对用户是可选的,而放在Web上,必须联网访问就把主动权放在厂商自己手里了。 用native把一些系统参数(像app版本,ios版本,unique号)存下来,其他展示都用h5实现,不只是修复bug快,甚至发布一个大的版本升级都不会有太大问题,基本上就等于web了。。
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to decrypt app resources in cocos2d-LUA reverse engineering How to decrypt app resources in cocos2d-LUA reverse engineering May 16, 2023 pm 07:11 PM

Let's take the Dashen apk as an example. Through the previous analysis of the app decryption Lua script, we can decrypt the Lua script of the Dashen apk. Now let's decrypt its resources (configuration files and pictures, etc.). Let’s take a more important configuration file as an example. Before decryption: the file header also has a signature value: fuckyou!. Seeing this, we first thought about whether it was also encrypted with xxtea. We used the above method to decrypt it with xxtea first, and then decompressed it. We found that it was still garbled, and an error occurred during the operation. Obviously, we have to deny what we just said. conjecture. We continue to decrypt the configuration file step by step. Think about it for a moment, the file header is: fuckyou! If you want to decrypt files, you will inevitably need to process

How to perform real-name authentication on Jingdong Mall APP How to perform real-name authentication on Jingdong Mall APP Mar 19, 2024 pm 02:31 PM

How to get real-name authentication on Jingdong Mall APP? Jingdong Mall is an online shopping platform that many friends often use. Before shopping, it is best for everyone to conduct real-name authentication so that they can enjoy complete services and get a better shopping experience. The following is the real-name authentication method for JD.com, I hope it will be helpful to netizens. 1. Install and open JD.com, and then log in to your personal account; 2. Then click [My] at the bottom of the page to enter the personal center page; 3. Then click the small [Settings] icon in the upper right corner to go to the setting function interface; 4. Select [Account and Security] to go to the account settings page; 5. Finally, click the [Real-name Authentication] option to fill in the real-name information; 6. The installation system requires you to fill in your real personal information and complete the real-name authentication

Microsoft improves Windows 11's Smart App Control, but you might not be able to use it Microsoft improves Windows 11's Smart App Control, but you might not be able to use it Apr 17, 2023 pm 04:40 PM

Microsoft launched SmartAppControl, a Windows 11 security feature, earlier this year. At the time, Microsoft described it as a protection tool that "blocks untrusted or potentially dangerous applications." What was unique about the tool at the time was that it determined whether it should run on a Windows 11 device. SmartAppControl initially runs in evaluation mode; it is in this mode that the application decides whether it should be opened. Microsoft did reveal that users can enable Smart App Control in the App and Browser Controls section of the Windows Security app. According only to Microsoft, SmartAppC

Steps and precautions for registering a Hong Kong Apple ID (enjoy the unique advantages of the Hong Kong Apple Store) Steps and precautions for registering a Hong Kong Apple ID (enjoy the unique advantages of the Hong Kong Apple Store) Sep 02, 2024 pm 03:47 PM

Apple's products and services have always been loved by users around the world. Registering a Hong Kong Apple ID will bring more convenience and privileges to users. Let’s take a look at the steps to register a Hong Kong Apple ID and what you need to pay attention to. How to register a Hong Kong Apple ID When using Apple devices, many applications and functions require using Apple ID to log in. If you want to download applications from Hong Kong or enjoy the preferential content of the Hong Kong AppStore, it is very necessary to register a Hong Kong Apple ID. This article will detail the steps on how to register a Hong Kong Apple ID and what you need to pay attention to. Steps: Select language and region: Find the "Settings" option on your Apple device and enter

How to view and delete App Store purchase history on iPhone How to view and delete App Store purchase history on iPhone Apr 13, 2023 pm 06:31 PM

The AppStore is a marketplace for iOS-related applications. Here you can also find free apps and paid apps. Apps can be gaming apps, productivity apps, utility apps, social media apps, and many more categories of apps. You may have downloaded or purchased many apps for iPhone from the AppStore. Now you may be wondering how to view the purchase history of apps purchased in the App Store. Sometimes, you may want to hide certain purchases from your purchase history for privacy reasons. In this article, we will guide you to find your purchase history and how to delete/hide purchases from your purchase history if necessary. Part 1

How to cancel the data package on China Unicom app How to cancel the data package on China Unicom How to cancel the data package on China Unicom app How to cancel the data package on China Unicom Mar 18, 2024 pm 10:10 PM

The China Unicom app can easily meet everyone's needs. It has various functions to solve your needs. If you want to handle various services, you can easily do it here. If you don't need it, you can unsubscribe in time here. It is effective. To avoid subsequent losses, many people sometimes feel that the data is not enough when using mobile phones, so they buy additional data packages. However, they don’t want it next month and want to unsubscribe immediately. Here, the editor explains We provide a method to unsubscribe, so that friends who need it can come and use it! In the China Unicom app, find the "My" option in the lower right corner and click on it. In the My interface, slide the My Services column and click the "I have ordered" option

How to issue invoices with multipoint app How to issue invoices with multipoint app Mar 14, 2024 am 10:00 AM

As a shopping voucher, invoices are crucial to our daily lives and work. So when we usually use Duodian app for shopping, how can we easily issue invoices in Duodian app? Below, the editor of this website will bring you a detailed step-by-step guide for opening invoices on multi-point apps. Users who want to know more must not miss it. Come and follow the text to learn more! In the [Invoice Center], click [Multi-Point Supermarket/Free Shopping], select the order that needs to be invoiced on the completed order page, click Next to fill in the [Invoice Information], [Recipient Information], and click Submit after confirming that they are correct. After a few minutes, enter the receiving mailbox, open the email, click on the electronic invoice download address, and finally download and print the electronic invoice.

Blackmagic\'s pro-level video app lands on Android, but your phone probably can\'t run it Blackmagic\'s pro-level video app lands on Android, but your phone probably can\'t run it Jun 25, 2024 am 07:06 AM

Blackmagic Design has finally brought its well-praised Blackmagic Camera app to Android. The professional video camera app is free to download, and it offers complete manual controls. These controls aim to make it easier for you to take pro-level cin

See all articles