Reputation: 565
Apple just rejected my app due to using "private api" related to status bar overlays. However, I only on MTStatusBarOverlay library for the status bar overlay.
Is MTStatusBarOverlay forbidden by Apple? MTStatusBarOverlay should be included in some apps on app store, as stated in their Github page.
Below is the only place I called MTStatusBarOverlay library:
+(void) displayMSGOnStatusBar:(NSString *)msg
{
MTStatusBarOverlay *overlay = [MTStatusBarOverlay sharedInstance];
overlay.animation = MTStatusBarOverlayAnimationFallDown;
overlay.detailViewMode = MTDetailViewModeHistory;
[overlay postImmediateMessage:msg duration:1.5 animated:YES];
}
Anyone know where the issue is? Your suggestion/help will be greatly appreciated!
Upvotes: 2
Views: 1979
Reputation: 23298
Just couple of thoughts:
a) Approval process doesn't guarantee to catch 100% of offending behavior. So, they may rejected your app, but they may have approved app which did very similar things.
b) MTStatusBarOverlay was actively developed about a year ago. It could be that Apple approval guidelines changed for this period of time.
c) Based on the description of rejection, they reject exactly the behavior of MTStatusBarOverlay (they don't like overlays on top of UIStatusBar).
Upvotes: 1