2

I have searched high and low, and maybe because of not defining the problem correctly, I can't seem to figure out how to achieve the following: http://andrewho.nl/wp-content/uploads/2013/04/Photo-30-03-13-09-55-06.png

I want to add a overlaying transparent view with a remove button. Any thoughts or tutorials I can use?

I have looked at the following but I want to have it fullscreen with a remove button: How to Implement a Cool Alert/Information Overlay on iPhone?

Community
  • 1
  • 1
Andrew Ho
  • 618
  • 9
  • 21

1 Answers1

4

Just create a new UIView (let's call it OverlayView) in interface builder, with the size of the main view, and above the others, with clearColor background color. Inside that UIView put an UIImageView with the overlay image (it has to be a semi transparent png) and UIButton for closing (on tap remove the OverlayView from superview)

jcesarmobile
  • 51,328
  • 11
  • 132
  • 176