开发者

Is it possible and allowed on iOS to download a resource bundle and load some strings from it?

开发者 https://www.devze.com 2023-02-17 20:12 出处:网络
I kno开发者_运维百科w that Apple does not allow you to download any code from the internet in your iOS application.

I kno开发者_运维百科w that Apple does not allow you to download any code from the internet in your iOS application.

My question is if you can download a resource bundle that contains some string tables and load them.

The second part of the question is if Apple allows this.


I use ASIHTTPRequest to download content from internet. It's easy and fast. Technically use CFNetwork API that include in iOS SDK and technically is "legal" to use in apps.

In his web there are a zone with apps are in App Store now using ASIHTTPRequest.

Personnally I use this in one app but I did not send the app to the App Store yet.


Your app can download the bundle. But nothing in the runtime would be able to use it. You would have to write your own methods to extract the strings you need from for it. At that point you couldn't call it a bundle.

0

精彩评论

暂无评论...
验证码 换一张
取 消