Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable the slide in from bottom animation #5

Open
srameshr opened this issue Jul 14, 2017 · 1 comment
Open

Disable the slide in from bottom animation #5

srameshr opened this issue Jul 14, 2017 · 1 comment

Comments

@srameshr
Copy link

srameshr commented Jul 14, 2017

Is there any way to disable the animation of the editor entry? Right now after we call RNImageTools.openEditor it bouncesIn from the bottom. How do we disable it, so that it just appears without any animation?

The SDK Docs says "To launch the editor, create and display an instance of AdobeUXImageEditorViewController. You can present it modally, like so."

How about configuring an option to enable or disable the animation?

- (void)displayEditorForImage:(UIImage *)imageToEdit
{
	AdobeUXImageEditorViewController *editorController = [[AdobeUXImageEditorViewController alloc] initWithImage:imageToEdit];
	[editorController setDelegate:self];
	[self presentViewController:editorController animated:YES completion:nil]; // This line
}
@npomfret
Copy link
Owner

PR's welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants