1
有没有办法在iOS中将自定义图像添加到UIMenuItem
?它必须看起来像Android(Image + Text下面)。可能有完成的自定义控制器? Thx提前。自定义UIMenuController
有没有办法在iOS中将自定义图像添加到UIMenuItem
?它必须看起来像Android(Image + Text下面)。可能有完成的自定义控制器? Thx提前。自定义UIMenuController
是的,你可以但在一个特殊的方式 - 使用方法swizzling但没有任何私人API。详情请查看我的项目https://github.com/cxa/UIMenuItem-CXAImageSupport。
我怀疑,但看看这里:http://developer.apple.com/library/ios/#documentation/iPhone/Reference/UIMenuController_Class/UIMenuController.html – microspino 2012-04-21 13:37:02
如果它是一个内置的使用图像,我不会问这个问题:) – demon9733 2012-04-21 14:10:18