summaryrefslogtreecommitdiff
path: root/platform/ios/main.m
blob: dd2bc30ebea9f399851948626d3bdaf81092909b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#import <UIKit/UIKit.h>
#import "MuAppDelegate.h"

int main(int argc, char *argv[])
{
	@autoreleasepool {
		@try {
			return UIApplicationMain(argc, argv, nil, NSStringFromClass([MuAppDelegate class]));
		}
		@catch (NSException* exception) {
			NSLog(@"Uncaught exception %@", exception);
			NSLog(@"Stack trace: %@", [exception callStackSymbols]);
		}

		return 0;
	}
}