augustrush / artransitionanimator Goto Github PK
View Code? Open in Web Editor NEWARTransitionAnimator is a simple class which custom UIViewController transition animation.
License: MIT License
ARTransitionAnimator is a simple class which custom UIViewController transition animation.
License: MIT License
UINavigationController *navigation = [[UINavigationController alloc] initWithRootViewController:viewController];
navigation.modalPresentationStyle = UIModalPresentationCustom;
navigation.transitioningDelegate = self.transitionAnimator;
[self presentViewController:navigation animated:YES completion:nil];
Warning: Attempt to present <UINavigationController: 0x1558c390> on <UINavigationController: 0x1553a550> which is already presenting <UINavigationController: 0x15580ae0>
不能显示controller
侧滑会导致navigationItem.rightBarButtonItem跑掉,不知道作者有没有碰到过,期待回复,🙏
when installing OR updating pod then getting this error message...
The ARTransitionAnimator
pod failed to validate due to 1 error:
- ERROR | license: Sample license type.
If i download manually and check the "pod spec lint" then getting this error message.
-> ARTransitionAnimator (0.1)
- ERROR | license: Sample license type.
- ERROR | [OSX] unknown: Encountered an unknown error (The ARTransitionAnimator
pod failed to validate due to 1 error:
- ERROR | license: Sample license type.
) during validation.
Analyzed 1 podspec.
[!] The spec did not pass validation, due to 2 errors
Hi;
Transition duration not working when presenting view controller with material style. On dismiss it seems like its working.
When presenting vc without material style it works as intended.
Hi again;
I'm experiencing very weird bug right now. When presenting my view controller with material style on fifth time app always get unresponsive. Without material style it works well.
I have tested your example it works well. I also test my app with other custom transitions they also worked well.
I have liked your library and want to work with it. But I couldn't solve this problem. Did you ever bump into this bug or do you have any idea why this is happening?
Below there is how I'm calling presentation.
if(!transitionAnimator){
transitionAnimator = [[ARTransitionAnimator alloc] init];
transitionAnimator.transitionDuration = 1;
transitionAnimator.transitionStyle = ARTransitionStyleMaterial | ARTransitionStyleBottomToTop;
}
BounceViewController *bvc = [self.storyboard instantiateViewControllerWithIdentifier:@"BounceViewController"];
bvc.modalPresentationStyle = UIModalPresentationCustom;
bvc.transitioningDelegate = transitionAnimator;
[self presentViewController:bvc animated:YES completion:nil];
Thanks, already.
could you plz make it pod
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.