setNeedsRevalidate()
Tells the menu system to validate all of its menus.
Declaration
func setNeedsRevalidate()Discussion
Call this method when your app needs to revalidate a menu, such as when the state of your app changes.
Tells the menu system to validate all of its menus.
func setNeedsRevalidate()Call this method when your app needs to revalidate a menu, such as when the state of your app changes.