iOS应用程序设置包 [英] iOS Application Settings Bundle

查看:175
本文介绍了iOS应用程序设置包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在项目中使用Apple的设置包,只有在满足其他设置条件时才可以向用户公开某些设置吗?

Using Apple's Settings bundle in a project, is it possible to expose certain settings to the user only if another setting condition is met?

例如我有一个切换开关,如果用户在设置应用程序中将选择切换为False,我想显示一个他们可以填写的文本框。切换是真的,我想隐藏文本框。

E.g I have a toggle switch, and if the user toggles the selection to False in the Settings application, I want to show a text box that they can fill in. If the toggle is true, I want to hide the text box.

任何帮助或指向文档的指针都可以解释这一点。

Any help or pointers to documentation that explain this would be great.

推荐答案

您可以在此处找到分步说明:将设置包添加到iPhone应用程序

You can find step by step instructions here: Adding a settings bundle to an iPhone App.

编辑:

我做了我的研究,我认为你不能在App Store中这样做已批准的应用,因为要达到此功能,您必须更改应用程序包中的settings.bundle文件,这在App Store批准的应用程序中是不允许的。


I did my research and I think you cannot do this in an App Store approved app, because to reach this thing you have to change the settings.bundle file inside the application's bundle, which is not allowed in App Store approved apps.

这篇关于iOS应用程序设置包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆