Hacker News new | ask | show | jobs
by beyti 3509 days ago
If you are showing a web page inside your app and the web page contents changed, is that a problem too? I mean where's the line defined by apple for the term "change".
1 comments

Apple only allows the iOS WebKit framework, so in a way, all apps that show webpages are simply wrappers around an Apple browser.

So I wouldn't be surprised if they react to that differently.

Will Apple eject this app from their web store for downloading code? Maybe not. Current Apple policy:

2.5.2 Apps should be self-contained in their bundles, and may not read or write data outside the designated container area, nor may they download, install, or execute code, including other iOS, watchOS, Mac OS X, or tvOS apps.

Older policy:

3.3.2 — An Application may not itself install or launch other executable code by any means, including without limitation through the use of a plug-in architecture, calling other frameworks, other APIs or otherwise. No interpreted code may be downloaded or used in an Application except for code that is interpreted and run by Apple’s Documented APIs and built-in interpreter(s).

Apple once prohibited a Commodore 64 emulator because it had a BASIC intepreter. But they've lightened up a bit.

https://microsoft.github.io/code-push/

It's definitely allowed for JS.

> nor may they download, install, or execute code

This looks like code to me, even if it is wrapped in JSON:

> {{#each posts}}

> {{# if ('type' in this) && (type=='stories') }}