Fill uiview with color animation


I would like to add a layer (or something else, a view ?) to that UIView, this layer would be filled with a plain color with alpha transparency. In the following example it would be redColor and transparency 0.5 : But later in code the UIView is resized : rect = CGRectMake(0, 0, newWidth, newHeight); myUIView.frame = rect; Dec 19, 2016 · This tutorial video will show you how to add color in Animate CC. It will also explain the difference between a stroke and a bitmap fill/fill. Watch to learn now. Aug 08, 2018 · UIKit has some really powerful built-in UIView animations, and the latest Swift-based interfaces make using them really easy. The tutorial team has already covered how to use UIView Animations in this UIView Animation Tutorial, so you might want to go through that tutorial first if you’re unfamiliar with the concepts. I would like to add a layer (or something else, a view ?) to that UIView, this layer would be filled with a plain color with alpha transparency. In the following example it would be redColor and transparency 0.5 : But later in code the UIView is resized : rect = CGRectMake(0, 0, newWidth, newHeight); myUIView.frame = rect;