这段时间一直在把mac app给上传到mac app store上,之前有试过把ios app上传成功
但是mac的app上传不知道是什么问题,上传两次都被拒绝。
拒绝原因:
“We have found that when the user closes the main application window there is no menu item to re-open it. The app should implement a Window menu that lists the main window so it can be reopened, or provide similar functionality in another menu item. OS X Human Interface Guidelines, state that "The menu bar [a]lways contains [a] Window menu".
Alternatively, if the application is a single-window app, it might be appropriate to save data and quit the app when the main window is closed. ”
我第二次上传之前也解决了窗口关闭重新打开之类的问题,但是拒绝的原因还是一样。
大神们能看出什么问题指点一下,谢谢!
你这个电机了关闭按钮后,再点击Dock图标,没有弹出window 吧。 在AppDelegate里面加上
- (BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)flag
{
self.window makeKeyAndOrderFont:
return YES;
}