Last updated: Apr-23-2025
This quick start lets you get an end-to-end implementation up and running using the iOS SDK in 10 minutes or less.
Prerequisites 1. Set up and configureYou will need to complete some initial project set up and configuration. The quick start assumes you will be using Xcode as your IDE.
Create a new Storyboard projectCreate a new empty iOS app project, making sure to select "Storyboard" as the interface.
Add the Cloudinary iOS SDK packageAdd the package as a dependency. This can be done from within your development environment:
https://github.com/cloudinary/cloudinary_ios.git
In your ViewController, add the import statement for the Cloudinary SDK below the UIKit
import.
Define your cloud name and initialize Cloudinary.
2. Upload an imageBefore adding your upload code:
Now, copy and paste the code below which:
Update your ViewController making sure to replace any variable placeholders:
3. Transform an imageCopy and paste the following code, which:
cld-sample-5
)Update your ViewController making sure to replace any variable placeholders:
4. Update your viewBefore running your code, you need to add the relevant image views to your Main storyboard, one for the transformed image and one for the uploaded image.
The image views need to be updated to use the Cloudinary SDK specific CLDUIImageView
class and should have a referencing outlet connected, one for each of the outlets defined in the ViewController.
Run your project, ensuring that you have the relevant iOS version and simulator installed. You should see your two images, one being the Cloudinary logo that was uploaded and the other a transformed image for the public ID that was set.
View the completed codeYou can find the full code example for this on GitHub.
Next stepsTake a look at the iOS sample project for a more comprehensive example using the Cloudinary iOS SDK.
âï¸ Feedback sent!
âï¸Â  ErrorUnfortunately there's been an error sending your feedback.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4