iOS Question main.plist

ibra939

Active Member
Licensed User
Longtime User
where i can add promission to save data


main.plist:
<plist version="1.0">
<dict>
    <key>CFBundleDisplayName</key>
    <string>MyApp</string>

    <key>NSPhotoLibraryAddUsageDescription</key>
    <string>promission to save data </string>

</dict>
</plist>
 
Solution
Just like that:

Plist:
#PlistExtra:<key>CFBundleDisplayName</key>
#PlistExtra:<string>MyApp</string>

And you put it in main just under project properties. I think though that this is much easier since there is already a property where you will define this.

hatzisn

Expert
Licensed User
Longtime User
Just like that:

Plist:
#PlistExtra:<key>CFBundleDisplayName</key>
#PlistExtra:<string>MyApp</string>

And you put it in main just under project properties. I think though that this is much easier since there is already a property where you will define this.
 
Upvote 0
Solution

ibra939

Active Member
Licensed User
Longtime User
Where under project ?
 
Upvote 0

hatzisn

Expert
Licensed User
Longtime User
You put it inside the code in IDE in Main under the project properties at the top of class main.
 
Upvote 0
Top