I've built a SwiftUI app which gives me a bonus Mac app.
My app was rejected by the App Store because it has a help menu that doesn't actually function.
The rejection said:
"Specifically, the help tab will display an error. It would be appropriate to implement this feature or remove it from the binary."
Does anyone know how to actually remove this from the binary? It's such a simple app, with a single function, so it really doesn't need a help item. Can't seem to find anything about this online.
My app was rejected by the App Store because it has a help menu that doesn't actually function.
The rejection said:
"Specifically, the help tab will display an error. It would be appropriate to implement this feature or remove it from the binary."
Does anyone know how to actually remove this from the binary? It's such a simple app, with a single function, so it really doesn't need a help item. Can't seem to find anything about this online.
You can use the UIMenuBuilder api to do this.
"To add and remove menus from the menu bar using the main menu system, override buildMenu(with:) in your app delegate."
For example, to remove that menu, you could do something like the following in your app delegate:
"To add and remove menus from the menu bar using the main menu system, override buildMenu(with:) in your app delegate."
For example, to remove that menu, you could do something like the following in your app delegate:
Code Block // Inside AppDelegate. override func buildMenu(with builder: UIMenuBuilder) { super.buildMenu(with: builder) builder.replaceChildren(ofMenu: .help) { _ in [] } }