Created
November 9, 2017 03:51
-
-
Save piaoapiao/3228db8c2abdd14420cfe1c9694e320b to your computer and use it in GitHub Desktop.
上架被拒原因
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 发包开关 | |
*/ | |
#define kProductionEnv YES | |
#if !kProductionEnv | |
else if ([dict[@"type"] isEqualToString:@"mine_download"]) { | |
NSString *downloadUrl = @"https://www.pgyer.com/Mzjk"; | |
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:downloadUrl]]; | |
} | |
#endif | |
宏编译理解,不管上面定义 NO,YES ,都会被编译进去 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment