I am trying to set the background color of some UIView
element.
I would like to paint it with blue color and a dash pattern on top. I know I could make a new UIView as its child and paint it with
[UIColor colorWithPatternImage:pattern]
but I would specifically want one UIView
, so get one UIColor
with blue background and pattern image on top.
Marko
EDIT :
Pattern image is like this :
And the result should be :
use above method a s follows