Reputation: 385
I've created a framework and in this framework the camera usage permission is required. I put the key NSCameraUsageDescription and its translation under my framework project, but my main app project override the translation of the framework project, although the permission is required from a framework function. How I can set a translation of NSCameraUsageDescription specific for my framework project?
Main app project
Info.plist
InfoPlist.strings (spanish) -> "Always this is used"
Framework project
Info.plist
InfoPlist.strings (spanish)
Upvotes: 0
Views: 588
Reputation: 13753
Unfortunately, this is not possible. iOS grabs the usage description from the main bundle's info plist. The only way to change the usage description is to change NSCameraUsageDescription
for the "Main app".
Upvotes: 1