简体   繁体   中英

App settings attributes missing in “Settings” app of device - iOS

I had made a settings.bundle file in my project with some attributes in it. It was working fine and I could find all attributes in device's "Settings" app until I moved the file from one folder to another in my project hierarchy. Now, "Settings" app does show my app name in it, but there are no attributes in it.

Edit: I have cleaned, build my project several times. Also deleted app from device, reinstalled it but the problem is still there.

I need to know the problem and reason why it has happened.

Thanks in advance.

You can't put the Settings bundle wherever you want. It needs to be in the top level diretory of your app's bundle.

from the manual:

A Settings bundle has the name Settings.bundle and resides in the top-level directory of your app's bundle.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM