The easiest way is to create a mobilesubstrate extension that runs inside SpringBoard and produces its own UIWindow.
Create a function static __attribute__((constructor))and an internal register for UIApplicationDidFinishLaunchingNotification. After receiving the notification, 99% of the standard iPhone SDK will work as is.
source
share