do you know if is it possible to apply a border type in a view?
I can do this
#import <QuartzCore/QuartzCore.h>
...
view.layer.borderColor = [UIColor redColor].CGColor;
view.layer.borderWidth = 3.0f;
But I don't know how to apply different borders (- - - - -, ---------, etc) to my view. How can I do it?
Thanks for your time!
If you want custom borders, you'll need to draw them yourself in -drawRect:
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With