On iPhone and iPod touch devices, viewing the modalViewController is always full screen. On an iPad, the presentation depends on the value in the modalPresentationStyle property.
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIViewController_Class/Reference/Reference.html
If you want to cover only part of the screen, you can make an animation that will hide the UIView container and everything that you want to show at the position on the screen.
I would recommend you read this post: A transparent modal view on the navigation controller
"I tried to make the background of the view white"
This would not affect the work, you could write [UIColor clearColor] , however, the view of the controller that is covered by the modal will disappear from the screen when the animation is completed. Therefore, if you make a white background, you will probably end up looking at the Windows background, which is white and not what you want.
source share