In my iPhone App,
I have one ViewController with View.
Please see image. It is a mock up. I want this popping up like effect. The white view is bit popping up out of light grey main view.
I think it has something to do with its border.
I applied border with light grey color.
you should give shadow to view in 2 side to get more effective
"YOUR VIEW".layer.shadowOffset = CGSizeMake(0,1.0); "YOUR VIEW".layer.shadowColor = UIColor.blackColor().CGColor "YOUR VIEW".layer.shadowOpacity = 0.3; "YOUR VIEW".layer.shadowRadius=2.0;