判断是否包含某个头文件

#if __has_include(<ChatKit/LCChatKit.h>)

#import <ChatKit/LCChatKit.h>

#else

#import "LCChatKit.h"

#endif

猜你喜欢

转载自www.cnblogs.com/cjt5132/p/10430000.html
今日推荐