urbanairship/ios-library — Issue #12: ios5 badge on inboxmail header
Author: jey-song
Created: 2011-10-18 02:23:23+00:00
State: open

#if __IPHONE_OS_VERSION_MAX_ALLOWED <= __IPHONE_4_3
UIView *aView = [((UIView *)[tabbar.subviews objectAtIndex:0]).subviews objectAtIndex:0];
#else
UIView *aView = [((UIView *)[tabbar.subviews objectAtIndex:1]).subviews objectAtIndex:0];
#endif