I have a UIView that contain another subview. The subview\'s frame is outside of the bounds of the super view. But the entire subview is visible in when I run the application.
Programmatically
[YourSuperview setClipsToBounds:YES]