iOS Application Settings Bundle(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 应用程序设置包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:iOS 应用程序设置包


基础教程推荐
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01