yeh should have thought of the fact that i can obviously re-write the given code in objective-c.
Code:
id frController = [[BRAppManager sharedApplication] delegate];
[frController _hideFrontRow];
[frController _showFrontRow]; of course you run into the problem when you try to re-enter frontrow that it doesnt show up if you did releasealldisplays or anything else of that nature so it helps to add an observer for the a front row notification in case you need to recapture the screen
Code:
//add this somewhere in init for your appliance or main menu controller
[[NSDistributedNotificationCenter defaultCenter] addObserver:self selector:@selector(didShow:) name:@"com.apple.FrontRow.FrontRowDidShow" object:nil];
- (void)didShow:(NSNotification *)n
{
[[BRDisplayManager sharedInstance] captureAllDisplays];
}
Bookmarks