gpt4 book ai didi

iphone - iPhone如何从UIWebView访问相机?

转载 作者:行者123 更新时间:2023-12-01 19:20:13 26 4
gpt4 key购买 nike

Possible Duplicate:
access camera from uiwebview?

UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
picker.allowsImageEditing = YES;
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
[self presentModalViewController:picker animated:YES];
return NO;

我正在使用上面的编码,但是没有用..

如何从WebView打开相机
任何人都可以帮助我。

谢谢

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