【问题标题】:How to change Choose button title in UIImagePickerViewController?如何更改 UIImagePickerViewController 中的选择按钮标题?
【发布时间】:2013-09-16 13:41:57
【问题描述】:

当我们使用 UIImagePickerViewController 类时,如果我们允许编辑“是”,那么我们发现我在此处附加的相同视图,根据我的工作要求,我必须将“选择”按钮标题更改为“接受”,我们该怎么做? 我没有为此使用覆盖视图。


每一个有用的答复将不胜感激。
提前致谢。

【问题讨论】:

  • UIImagePickerController Class ReferenceThe view hierarchy for this class is private and must not be modified。简而言之,如果要自定义,则需要使用cameraOverlayView
  • 好的,谢谢回复,我明白了。

标签: iphone button uiimagepickercontroller


【解决方案1】:

您必须使用overlay view 来创建一个带有您想要的按钮的自定义工具栏。如果您修改现有 UIImagePickerController 上的按钮,Apple 可能会拒绝您的应用,因为这是明确禁止的(如链接中所述)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-07-20
    • 1970-01-01
    • 2016-10-24
    • 2012-01-16
    • 2011-05-22
    • 1970-01-01
    • 2016-08-01
    • 2015-09-26
    相关资源
    最近更新 更多