I wanted to customize UIApplication. So I have a subclassed UIApplication. My Application do not have a MainWindow.nib file. So how can I assign my Custom UIApplication to play the role of UIApplication?
Asked
Active
Viewed 468 times
0
-
1See: http://stackoverflow.com/questions/1399202/how-to-subclass-uiapplication – petert Nov 28 '11 at 12:34
1 Answers
1
The Answer provided by Link pointed by petert solved my problem.
In the Main.m file I was able to assign the CustomApplication and CustomAppDelegate this way:
int retVal = UIApplicationMain(argc, argv, @"CustomApplication", NSStringFromClass([CustomApplicationDelegate class]));
RK-
- 11,865
- 22
- 88
- 153