Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当打开相机时,我希望相机闪光灯打开而不是自动。我可以这样做吗?任何建议表示赞赏。非常感谢。
这应该可以帮助你。当你要向用户展示你的相机时,包括第二行:
UIImagePickerController *iPicker = [[UIImagePickerController alloc] init]; iPicker.cameraFlashMode = UIImagePickerControllerCameraFlashModeOn;