如何控制 iPhone 预生成设置(捆绑包)窗格的逻辑
如何使用类似于此 http://knol.google.com/k/iphone-sdk-application-preferences?pli=1#(当应用未运行时)。我的某些设置取决于其他设置的打开或关闭。 IE 为此 plist 的预生成设置视图设置逻辑门。我在我的应用程序中可以使用此功能,但我不能让我的应用程序具有无效设置,因为有 5 个彼此独立的开/关开关,因为当我需要链接其中一些开关时,应用程序当前无法控制它们。所以基本上我只是禁用这个窗格,用户只能更改应用程序中的设置。使用“常规”设置应用程序会很好...
谢谢
How can I control the logic of say 5 "automatically generated" on/off switches using a method similar to this http://knol.google.com/k/iphone-sdk-application-preferences?pli=1# when the app isn't running. Some of my settings are contingent on other settings being on or off. IE setting logical gates for this plist's pre-generated settings view. I have this working in my App but I can't have my app having invalid settings because of 5 on/off switches that are independent of each other because the app can't currently control them, when I need some of them linked. So basically I just disable this pane, and the user can only change settings in the app. It would be nice to using the "General" Settings app...
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
执行此操作的唯一方法是在启动时验证当前的应用程序设置,并在发现设置问题时通知用户。
The only way to do this would be to validate the current App Settings on startup and notify the user if you discover problems with the settings.