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