You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TheRealKerni edited this page Oct 10, 2010
·
12 revisions
Q: BWHockeyViewController modal view is not shown after choosing yes in the alert view A: Make sure the rootViewController property of your UIWindow is assigned to your rootViewController. If you require 3.x compatibility, don’t do it in the Interface Builder but via code, e.g.:
if ([windowrespondsToSelector:@selector(setRootViewController:)]) {
[windowsetRootViewController:YourRootViewControllerClass];
}
Q: How can I check at compile time, if the chosen Xcode configuration is not the AppStore configuration. A: Open your build settings (Project or Target) and choose All Configurations, then search for Preprocessor Macros Not Used in Precompiled Headers and add a new value CONFIGURATION_$(CONFIGURATION). Now you can check in your code via #if !defined (CONFIGURATION_AppStore_Distribution) where the text "AppStore_Distribution* is the actual name of the configuration you are using for the AppStore build.