ios - Modal view at right half of ipad's screen? -


i need modify view's modal presentation parameters:

1 - modal view fills ipad's right half of screen.
2 - animation runs left half of screen.

i have search in iosframeworks.com, cocoacontrols.com, books big nerd rach, ios recipes, ios pushing limits, stackoverflow , google. posibility that?
assistance

for testing, after 2 days of searching answers, create following code, i'm executing following code since root view controller cmmainview, viewcontroller cmvistamodal empty, doesn't have overrided method nor xib nor variable, device family ipad

-(ibaction)accion:(id)sender {  cmvistamodal *modal = [[cmvistamodal alloc] init];  [modal setmodalpresentationstyle:uimodalpresentationformsheet];  [self presentviewcontroller:modal animated:no completion:nil]; [modal.view.superview setautoresizingmask:uiviewautoresizingflexiblewidth | uiviewautoresizingflexibleheight]; [modal.view.superview setframe:cgrectmake(800, 120, 200, 500)]; [uiview animatewithduration:1 animations:^{     modal.view.superview.transform = cgaffinetransformmaketranslation(-200, 0); }]; } 

how can perform same operation overriding methods cmvistamodal?

absolutely. make new view , add existing view , animate position. can have view appear behind blocking touches other views.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -