There a video session of WWDC 2010 is about this method. It was called "Creating a server user experience."
You have a server that sends an XML, JSON application or a compressed list (recommended) with all the coordinates of the user interface object, colors, visibility, text, images, etc., Then it analyzes the data and creates an instance of the application from this data. Save user interface data in a local database for offline use. etc.
You are not allowed to load scripts (*) in the application of the application store, but you can include many built-in script parameters from which you select the desired behavior at runtime.
- Added: Starting in 2017 (section of the agreement with the developer 3.3.2), Apple now allows you to load certain types of scripts into applications, but only for educational / educational purposes, and not if they significantly change the behavior of the application.
source share