1. nslog輸出與否
#ifdef DEBUG
#define XFLog(…) NSLog(VA_ARGS)
#else
#define XFLog(…)
#endif
#ifdef DEBUG
#define XFLog(…) NSLog(VA_ARGS)
#else
#define XFLog(…)
#endif
爲了在下班後的第二天 提示你#warning標記的地方 你並沒有完成。 爲了在N多天後 提示你#warning標記的地方 你並沒有完成。
第一種: for (UIScrollView* viewin self.webView.subviews) { if ([viewisKindOfClass:[UIScrollViewclass]])