There might be need at several stages of iPhone application development to insert a new view on top of other views. This can be achieved by setting the zPosition value of the view in question. If a View has a zPosition that is bigger than another views zPosition it will appear on top of the other view.
UIView *myView = [[UIView alloc] init]; myView.layer.zPosition = X;
Name (required)
Mail (will not be published) (required)
Website
Please note: JavaScript is required to post comments. Spam protection by WP Captcha-Free