2
0

Restructured passwords UI a bit for a saner nav bar.

This commit is contained in:
Maarten Billemont
2014-04-21 23:35:29 -04:00
parent 079434d62b
commit e070082f4a
9 changed files with 96 additions and 88 deletions

View File

@@ -39,9 +39,6 @@
[UIView animateWithDuration:0.3f animations:^{
passwordsVC.popdownToTopConstraint.priority = 1;
passwordsVC.popdownToNavigationBarConstraint.priority = UILayoutPriorityDefaultHigh;
[passwordsVC.popdownToNavigationBarConstraint apply];
[passwordsVC.popdownToTopConstraint apply];
} completion:^(BOOL finished) {
if (finished)
@@ -55,9 +52,6 @@
[popdownVC willMoveToParentViewController:nil];
[UIView animateWithDuration:0.3f delay:0 options:UIViewAnimationOptionOverrideInheritedDuration animations:^{
passwordsVC.popdownToTopConstraint.priority = UILayoutPriorityDefaultHigh;
passwordsVC.popdownToNavigationBarConstraint.priority = 1;
[passwordsVC.popdownToNavigationBarConstraint apply];
[passwordsVC.popdownToTopConstraint apply];
} completion:^(BOOL finished) {
if (finished) {