Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions AwesomeMenu/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
AwesomeMenu *menu = [[AwesomeMenu alloc] initWithFrame:self.window.bounds startItem:startItem menuItems:menuItems];
menu.delegate = self;


UIViewController *vc = [[UIViewController alloc] init];
vc.view = menu;

/* Path-like customization

Expand Down Expand Up @@ -116,7 +117,8 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(

*/

[self.window addSubview:menu];
// [self.window addSubview:menu];
[self.window setRootViewController:vc];
[self.window makeKeyAndVisible];
return YES;
}
Expand Down