gpt4 book ai didi

ios - UIImagePickerController 以大写字母 "USE_PHOTO"、 "RETAKE"和图库图像 "CAMERA_ROLL"显示文本?

转载 作者:可可西里 更新时间:2023-10-31 23:48:55 25 4
gpt4 key购买 nike

我正在使用下面的代码

func pickerImage(type type : String , presentInVc : UIViewController , pickedListner : onPicked , canceledListner : onCanceled){

self.pickedListner = pickedListner
self.canceledListner = canceledListner

let picker : UIImagePickerController = UIImagePickerController()
picker.sourceType = type == CameraMode.Camera ? .Camera : .PhotoLibrary
picker.delegate = self
picker.allowsEditing = false
presentInVc.presentViewController(picker, animated: true, completion: nil)
}

enter image description here

最佳答案

我遇到过同样的问题,问题是,我们需要设置“AppleLanguages”用户默认值,以允许系统框架以设置的相同语言加载本地化字符串。我使用 BundleLocalization 库进行本地化,这是我的主要问题。链接:https://github.com/cmaftuleac/BundleLocalization

问题链接:UIImagePickerController shows all text in weird capital case

谢谢

关于ios - UIImagePickerController 以大写字母 "USE_PHOTO"、 "RETAKE"和图库图像 "CAMERA_ROLL"显示文本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38457574/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com