浏览代码

updated readme

ibireme 9 年之前
父节点
当前提交
0f3fd4a9c1
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. 5 4
      README.md

+ 5 - 4
README.md

@@ -499,8 +499,9 @@ Installation
     * MobileCoreServices
 4. Import `YYText.h`.
 
-### Notice
-You can add [YYImage](https://github.com/ibireme/YYWebImage) or [YYWebImage](https://github.com/ibireme/YYWebImage) to your project to support animated image (GIF/APNG/WebP) copy and paste.
+*  If you want to support animated image (GIF/APNG/WebP), you may add [YYImage](https://github.com/ibireme/YYWebImage) or [YYWebImage](https://github.com/ibireme/YYWebImage) to your project.
+*  If you want to use it in App Extension, you may add `YY_TARGET_IS_EXTENSION` flag in `Build Settings` - `Preprocessor Macros` sections.
+
 
 Documentation
 ==============
@@ -1019,8 +1020,8 @@ YYText 和 TextKit 架构对比
     * MobileCoreServices
 4. 导入 `YYText.h`。
 
-### 注意
-你可以添加 [YYImage](https://github.com/ibireme/YYWebImage) 或 [YYWebImage](https://github.com/ibireme/YYWebImage) 来支持动图(GIF/APNG/WebP)的复制粘贴
+*  如果需要支持动图(GIF/APNG/WebP),你可以添加 [YYImage](https://github.com/ibireme/YYWebImage) 或 [YYWebImage](https://github.com/ibireme/YYWebImage) 到你的工程里。
+*  如果你需要在 App Extension 中使用这些代码, 可以在 `Build Settings` - `Preprocessor Macros` 中添加 `YY_TARGET_IS_EXTENSION` 参数
 
 
 文档