I'm trying to make a kind of overlay view that looks similar to the attached image (excuse the poor-quality drawing and picture).
I want this view to be black on the inside, but to have a white boundary. At the moment I've looked at a few tutorials to see how the effect might be achieved:
- I looked at this folder animation tutorial because it has the arrow effect that I want.
- Then, because my view will change size I figure that I wouldn't be able to just photoshop it. So I looked up how to draw rounded rectangles.
Now the problem that I have is with the second link, whenever I draw something using it, there's a black rounded rectangle, but it looks like a square cut-out (because of the white boundary, look at second attached image).
I want to spin these two tutorials to achieve the effect, however the big problem is including the arrow in the CGContextPath.