Skip to content

Commit 675b792

Browse files
committed
2 parents bc1f1e0 + d8acf27 commit 675b792

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@ This lib is for personal use, so if you customize your style or change something
4141
## ScreenShot 👉👈
4242
### iOS
4343
<div style="display: flex; flex-direction: row">
44-
<img src="resources/tools_ios.png" width="25%">
45-
<img src="resources/filters_ios.png" width="25%">
46-
<img src="resources/sticker_ios.png" width="25%">
44+
<img src="resources/tools_ios.png" width="32%">
45+
<img src="resources/filters_ios.png" width="32%">
46+
<img src="resources/sticker_ios.png" width="32%">
4747
</div>
4848

4949
<br>
5050

5151
### Android
5252

5353
<div style="display: flex; flex-direction: row">
54-
<img src="resources/tools_android.png" width="25%">
55-
<img src="resources/filters_android.png" width="25%">
56-
<img src="resources/sticker_android.png" width="25%">
54+
<img src="resources/tools_android.png" width="32%">
55+
<img src="resources/filters_android.png" width="32%">
56+
<img src="resources/sticker_android.png" width="32%">
5757
</div>
5858

5959
## Requirements
@@ -68,8 +68,13 @@ yarn add @baronha/react-native-photo-editor
6868
```
6969

7070
### iOS
71-
add ```use_frameworks! :linkage => :static``` in Podfile (Because this lib using SDWebImage for the purpose of loading images and stickers).
72-
<br>
71+
72+
The Swift pod `@baronha/react-native-photo-editor` depends upon `SDWebImage` and `SDWebImageWebPCoder`, which do not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies:
73+
74+
```
75+
pod 'SDWebImage', :modular_headers => true
76+
pod 'SDWebImageWebPCoder', :modular_headers => true
77+
```
7378
Then run ```cd ios/ && pod install```
7479

7580

0 commit comments

Comments
 (0)