rpetrich/libactivator — Issue #153: Go to SpringBoard 1st page does not work when NotificationCenter is visible.
Author: autopear
Created: 2012-02-22 08:56:43+00:00
State: open

Codes below may work

if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 5.0)
{
if ([[%c(SBAwayController) sharedAwayController] awayBulletinControllerIsActive])
static BOOL inside;
if (!inside) {
inside = YES;
[uic clickedMenuButton];
inside = NO;
}
[ic scrollToIconListAtIndex:0 animate:NO];
result = YES;
}