Cocoa Touch: How To Change UIView's Border Color And Thickness?

You need to use view's layer to set border property. E. G: import ... view.layer.

BorderColor = UIColor redColor. CGColor; view.layer. BorderWidth = 3.0f You also need to link with QuartzCore.

Framework to access this functionality.

You need to use view's layer to set border property. E. G: #import ... view.layer.

BorderColor = UIColor redColor. CGColor; view.layer. BorderWidth = 3.0f; You also need to link with QuartzCore.

Framework to access this functionality.

– lluismontero Oct 10 at 16:13 @lluismontero I afraid you'll have to make custom UIView with drawRect: method for that – Vladimir Oct 10 at 20:12.

You can also create border with the color of your wish.. view.layer. BorderColor = UIColor colorWithRed:r/255 green:g/255 blue:b/255 alpha:1.0. CGColor; *r,g,b are the values between 0 to 255..So you know the RGB value of color you can set it here.. :-).

You need to use view's layer to set border property. You also need to link with QuartzCore. Framework to access this functionality.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions