- args
- Command line parameters from the Main program.
- principalClassName
- The name of the main application class, if you specify null, this uses UIApplication.
- delegateClassName
- The name of the UIApplicationDelegate class, if null, it uses the UIApplicationDelegate instance specified in the main NIB file for this program..
The principalClassName is typically only specified if the application developer subclasses UIKit.UIApplication, as shown in the following example:
C# Example
public class Application
{
static void Main(string[] args)
{
UIApplication.Main(args, "MyApp", "MyAppDelegate");
}
}
[Register("MyApp")]
public class MyApp : UIApplication
{
//...etc...
}
[Register("MyAppDelegate")]
public class AppDelegate : UIApplicationDelegate
{
//..etc...
}