Using a simple cocoapod for image previews in React Native
(These instructions assume that you already have ReactNative and CocoaPods set up on your machine)
- Read the blog post linked above
- Clone the repo to your computer
cd
into theRNImagePreview
directory and runnpm install
cd
into theios
directory and runpod install
- Open the
RNImagePreview.xcworkspace
file (or if you have the awesomeopen_pod_bay
gem installed you can just typepod open
) - Press
CMD
+R
or click the run button in XCode to build and run the project