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

查看:54
本文介绍了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,我想显示一个他们可以填写的文本框.如果切换为 true,我想隐藏文本框.

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天全站免登陆