3 ms·
On iOS a system could be build to support some form of hot code swapping. Reason being that application can load NSBundle objects at runtime and NSBundles can c
by wsc981 14y ago
On iOS a system could be build to support some form of hot code swapping. Reason being that application can load NSBundle objects at runtime and NSBundles can contain (among other things) executable code.
Sadly, Apple doesn't allow apps to use this in release versions, as apps could more easily exploit potential flaws in the system this way, since one could bypass Apple's approval process.
More info on NSBundles here: https://developer.apple.com/library/ios/#documentation/Cocoa/Reference/Foundation/Classes/NSBundle_Class/Reference/Reference.html https://developer.apple.com/library/ios/#documentation/Cocoa...
Apparently a more "low-level" approach is possible as well, but again not allowed by Apple: http://stackoverflow.com/a/10509453/250164 http://stackoverflow.com/a/10509453/250164