UIImage

In this tutorial, you will learn how to create UIImageView programmatically and how to load an image from a remote URL.  I’ll show you how to create a UIImageView and UIImage programmatically, and teach you how to fetch and display an image from a URL. Step 1: Creating UIImageView Programmatically First,  let’s create a UIImageView programmatically. UIImageView is a…

Read More UIImageView and UIImage. Load Image From Remote URL.

In this tutorial, you will learn how to make UIImage circular programmatically in Swift. Making a UIImage circular programmatically in Swift involves several steps. Step 1: Create a UIImageView with Your Image First, you need to create a UIImageView instance within your UIViewController. Then set the image you want to display  UIImageView by initializing it with a…

Read More Make UIImage Circular Programmatically

In this Swift tutorial, you will learn how to encode UIImage data to Base64 string. To verify that the UIImage data was correctly encoded into the Base64 string, we will decode the Base64 string back into image data and will create a new UIImage using this data. Create UIImage Before I can encode existing image…

Read More UIImage Base64 Encoding and Decoding in Swift

In this Swift tutorial, you will learn how to make UIImageView corners rounded. To learn how to programmatically create new UIImage, add it to UIImageView and make it visible in your app, have a look at the following tutorial: Create UIImage and UIImageView Programmatically Create UIImage and UIImageView To make image corners rounded, I will…

Read More UIImageView Rounded Corners in Swift

In this tutorial, you will learn how to create UIImage and UIImageView in Swift programmatically. Add Image to Xcode Project For your app to be able to display an image, the image needs to be either added to your app bundle or loaded from the Internet using an image URL. For this tutorial, I will…

Read More Create UIImage and UIImageView Programmatically