<dict>
<!-- Other keys and configurations... -->
<key>NSCameraUsageDescription</key>
<string>Your app needs access to the camera to take photos and videos.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Your app needs access to the photo library to select photos and videos.</string>
</dict>
2条答案
按热度按时间rdlzhqv91#
打开Flutter项目的ios/Runner文件夹中的Info.plist文件。
将以下键添加到Info.plist文件:
字符串
snvhrwxg2#
您需要在XCode项目like here或here中编辑
Info.plist
文件