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

Does it works with Auto Layout? #463

Closed
zhlovee opened this issue Dec 17, 2013 · 3 comments
Closed

Does it works with Auto Layout? #463

zhlovee opened this issue Dec 17, 2013 · 3 comments

Comments

@zhlovee
Copy link

zhlovee commented Dec 17, 2013

Hi expert,
Is the framework support auto layout mechanism ?
Some issues occurred when the center view controller enabled auto layout:
It happens when I add a sub view controller to a containerView of the center view:

TestViewController *ctrl = [TestViewController new];
[self addChildViewController:ctrl];
[self.testContainer addSubview:ctrl.view];
ctrl.view.translatesAutoresizingMaskIntoConstraints = NO;
[ctrl.view pinToSuperviewEdges:JRTViewPinAllEdges inset:0];

and then change the containerView's constrains, But the sub controller doesn't call the updateConstrains method, neither update views in subViewController

Is that a well known issue or the deck view doesn't support autoLayout feature?
and can be easily fixed?

@organizr-zz
Copy link

I do use autolayout and don't have any problems.

@zhlovee
Copy link
Author

zhlovee commented Jan 24, 2014

have you try to change the constrains programmatically? It do no effect of me

@michaelochs
Copy link
Member

I'll close this issue as it is very old. If the issue still exist, please open a new bug and describe the problem. Sample code would be ideal to track down an issue.

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

3 participants