Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Disable gesture in Background window and reload data when selecting the close button in the Child(modal/second)view controller #95

Closed
VenkatramanPalanikumar opened this Issue · 2 comments

2 participants

@VenkatramanPalanikumar

I have a modal popup for add/Edit records , I have the "Insert","close" button in the popup. I have to disable the gesture recognizer in the Backround window. Then if I select "Insert"/"Close" my modalwindow(second)view controller should dismiss and it should call the parent controller reload method. Please let us know how do I acheive it. I am trying this in iOS 7
Thanks in advance.

@m1entus
Owner

If you want to dismiss form sheet controller, you can use category on UIViewController to provide access to the formSheetController.

[self mz_dismissFormSheetControllerAnimated:YES completionHandler:^(MZFormSheetController *formSheetController) {
// do reload
}];

@VenkatramanPalanikumar

Thanks. We are facing another problem while executing the sample in ios7.1( armv7 , armv7s,armv64). We are getting the below error.

Undefined symbols for architecture i386:
"OBJC_CLASS$_MZFormSheetBackgroundWindowViewController", referenced from:
objc-class-ref in MZFormSheetController.o
ld: symbol(s) not found for architecture i386

I am new to this development. I am not able to solve this

@m1entus m1entus closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.