Do iOS apps share frameworks?

后端 未结 2 938
南旧
南旧 2020-12-11 18:40

If several apps are installed on the same device which use the same framework, are multiple copies of the framework code stored on the device or do all apps share them?

相关标签:
2条回答
  • 2020-12-11 19:12

    If it's a system-provided framework, then every app uses the shared system copy of the framework. If it's a framework you downloaded and added to your project, then your app uses that private copy. (The same is true for OS X apps and frameworks).

    (Note that non-system iOS frameworks must be static, so they wouldn't be shareable between apps anyway. But, this answer would hold true even if dynamic library frameworks were possible, as is the case on OS X).

    0 讨论(0)
  • 2020-12-11 19:16

    System frameworks are "shared" I guess you could say. More so, apps are linked to the frameworks on the system.

    0 讨论(0)
提交回复
热议问题