iOS Question Settings App Value

aaronk

Well-Known Member
Licensed User
Longtime User
Hi,

I have been following the tutorial on adding items to the settings app:
https://www.b4x.com/android/forum/t...gs-to-the-default-settings-app.48778/#content

I have looked at the Gmail iOS app and found that it has a version label in it's settings screen.

I can't seem to work out how they added this version label (also noticed a few other apps having this).

It's like a textfield that can't be edited.

Any ideas on how to add this ?

upload_2016-1-14_17-5-32.png
 

aaronk

Well-Known Member
Licensed User
Longtime User
Create a text field and then edit the plist file and change PSTextFieldSpecifier to PSTitleValueSpecifier
Now it's saying 'Access to the path denied' when I try to compile my app (in debug mode).

I have closed Notepad++, and even rebooted my PC so I know nothing can have access to this file.

The file is stored in Objects\src\Settings.bundle\Root.plist and is the file that it saying is denied.

Any ideas on what could be causing it to denied access to this file when it's not being used except in B4i ?
 
Upvote 0

aaronk

Well-Known Member
Licensed User
Longtime User
Can you delete or rename the file?
Yes.

I can even create a new folder and move the file to that new folder.

I have rebooted my computer many times and still have the same issue.

FYI.. Running B4i on a VM (running on a MacBook) but was working fine before this issue come up.
 
Upvote 0

aaronk

Well-Known Member
Licensed User
Longtime User
OK, I have worked out how to fix the issue..

I went to Objects\src\Settings.bundle\Root.plist and right mouse click on that file, and choose properties and unticked the 'read only' tick box. Now when I compile the app it works and no longer says it's denied access.
 
Upvote 0
Top