Dynamic loading of system frameworks by using dlopen

Hi,


I need to use some public system frameworks in iOS (such as AVFoundation) and I have some concerns about dynamic loading of system frameworks:

Does dynamic linking of public system frameworks is allowed for iOS by using dlopen and dlsym functions? Specifically, for apps that will be submitted to the App Store.


In addition, when calling dlopen for a public system framework that is already loaded, will it cause an additional reloading of the framework to the memory?


Thanks.

Replies

Libraries are loaded into address space for later use. They won't be 'reloaded'.