【发布时间】:2012-10-29 10:23:52
【问题描述】:
在我的应用程序中,我在Settings.bundle 中定义了一个选项,该选项仅用于调试目的。
有没有办法在应用程序处于生产状态时从代码中隐藏它,而无需手动从Settings.bundle/Root.plist 中删除选项?
以下内容:
#ifdef DEBUG
// Remove the option from the settings bundle
#else
// Show the option in (or don't actually remove the option from) the settings bundle
#endif
谢谢!
【问题讨论】:
标签: objective-c ios settings.bundle