react-native interface to create watermarks on videos and/or images(iOS)
npm install react-native-watermark@latest --save
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-watermark
and addRNWatermark.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNWatermark.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Click
RNWatermark.xcodeproj
in the project navigator and go theBuild Settings
tab. Make sure 'All' is toggled on (instead of 'Basic'). Look forHeader Search Paths
and make sure it contains both$(SRCROOT)/../../react-native/React
and$(SRCROOT)/../../../React
- mark both asrecursive
. - Run your project (
Cmd+R
)