Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

Modal view with semi-transparent background

TomWhitsonTomWhitson Posts: 40Registered Users
edited August 2011 in iPhone SDK Development
Hi all,

I want to pop up and animated modal view (with controller) over my current view. I have that working fine using a .xib file and some code like

[PHP]
ModalViewController *popupController = [[ModalViewController alloc] initWithNibName:@"ModalViewController" bundle:nil];
[self presentModalViewController:popupController animated:YES];

[/PHP]

What I would like to do is for the modal view to have a semi-transparent background image so that the views underneath can still be seen. I have used a semi transparent image as a background but it doesn't work. Has any one experienced this? Or is there some standard code/way to do this.

Cheers,
Tom
Post edited by TomWhitson on
<a href="http://www.tomwhitson.co.uk/bombsaway" target="_blank">Bombs Away out now! (non iTunes link)</a><br />
<br />
<a href="http://www.tomwhitson.co.uk/starjumper/" target="_blank">StarJumper out now! (non iTunes link)</a>

Replies

Sign In or Register to comment.