jjzjj

UIStatusBarForegroundView

全部标签

ios - 如果将 UIStatusBarForegroundView 用作字符串,Apple 会拒绝该应用程序吗

在我的应用程序中,我需要在点击状态栏时触发显示一些自定义View。我找到了通过子类化UIApplication来获取事件的方法。如果我使用下面的代码,Apple会阻止我的应用使用私有(private)API吗?-(void)sendEvent:(UIEvent*)event{[[eventallTouches]enumerateObjectsUsingBlock:^(UITouch*touch,BOOL*stop){if(touch.tapCount==1&&touch.phase==UITouchPhaseEnded){NSString*touchedViewClassName=NS