Add gradient in iOS

Updated 7 February 2017

Save

Add gradient in iOS

Suppose you want to add the multicolor view in your application in the background, for this you have to set the gradient in background view. Firstly, you have to add the gradient on UIView then you have to add the UIImageView and add the image to the  UIImageView then make that UIImageView transparent mean you have set the alpha of UIImageView (image.alpha = 0.1). Example using gradient:-

 

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home