Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do iOS apps share frameworks?

Tags:

ios

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?

like image 546
JoelFan Avatar asked Mar 07 '13 03:03

JoelFan


1 Answers

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).

like image 98
nneonneo Avatar answered Oct 23 '22 01:10

nneonneo