For Windows applications it is quite common to show verbose descriptions of menu items in the status bar if hovering over them. Where to show similar information in Mac applications?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Most Mac apps I've used don't have menu item tool tips. But if they do, they're near the menu item, and usually not that verbose. You can provide the tool tip text at design time in the menu nib, or at run time by calling -[NSMenuItem setToolTip:]
, and the OS determines where to place the tool tip.