iOS 调试与发布模式自定义显示宏

来源:互联网 发布:重装系统 知乎 编辑:程序博客网 时间:2024/04/29 21:47

    NSString *str =@"调试模式显示本文字,反之则为空";

#ifdef DEBUG

# define stitile str;

#else

# define stitile @"";

#endif

    self.title =stitile;


0 0