I have various buttons on a few screens of my iPad app that I enable during development. One such example is a delete cache button. The problem is that controls such as this have to be manually hidden before I post to the app store or build an adhoc build for a customer. Can I some how detect through the code that I'm debugging or using a version of the app that was put there via debugging and programatically have a "isDeveloperMode" flag that is somehow linked to which target I ran?
Sorry if this question is a bit confusing, but I have been wondering about this for a while now.