Vins
Vins

Reputation: 385

InfoPlist.strings on a framework project

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?

Upvotes: 0

Views: 588

Answers (1)

Jake
Jake

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

Related Questions