views:

25

answers:

2

Hi friends,

Is it possible to show uiview like actionsheet on presentmodalviewcontroller(i.e. that is uiview should go top but it should not go fully and it should be half) so that i view the last view controller on screen.

Thanks in advance.

Regards, sathish

A: 

Yes you can do this

just take a new view and fix its frame according to ur requirment and then add on subview

GhostRider
self.view = [[[UIView alloc] initWithFrame:CGRectMake(0, 200, 320, 330)] autorelease];
sathish kumar
thanks for your quick reply.i added code self.view = [[[UIView alloc] initWithFrame:CGRectMake(0, 200, 320, 330)] autorelease]; and put my code but size decreased but it doesnot show previous screen ghostrider.
sathish kumar
uiview *newView = [[uiview alloc]initwithframe:cgrectmake(0,200,320.260); [self.view addsubview:newView];
GhostRider
Thanks ghost rider for your valuable suggestion
sathish kumar
A: 

This blog entry will help what I think you're trying to achieve.

petert
Thanks peter. its worked
sathish kumar