I have created a SwiftUI project. I need to add privacy for camera permission in info.plist file. But in my project there is no info.plist available. How do I achieve camera permission on it?
Here is my project Screenshot,
2
Do the following to find the info.plist to add the necessary keys for the privacy of camera permission in your SwiftUI project.
At first click on the Barcode_Scanner
Now, Under the TARGETS click on your app and then click on Info.
You should be able to achieve now what you wanted to. Thanks!
You can always find plist file by clicking marked section on the picture. (whether it is SwiftUI project or UIKit project)
screenshot of project file
Click here to cancel reply.
2
Answers
Do the following to find the info.plist to add the necessary keys for the privacy of camera permission in your SwiftUI project.
At first click on the Barcode_Scanner
Now, Under the TARGETS click on your app and then click on Info.
You should be able to achieve now what you wanted to. Thanks!
You can always find plist file by clicking marked section on the picture. (whether it is SwiftUI project or UIKit project)
screenshot of project file