Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Bug Fix #1449 #1476

Closed
wants to merge 1 commit into from
Closed

Conversation

GuyKahlon
Copy link
Contributor

Pull request checklist

What's in this pull request?

...

It doesn't seem like you can change the height of the inputToolbar using the documented property preferredDefaultHeight since it is used to configure the height constraint in viewDidLoad.
In order to fix the bug I added the line of code:

self.toolbarHeightConstraint.constant = self.inputToolbar.preferredDefaultHeight;

In the method:

viewWillAppear, and now the view load with the correct constraints.

It doesn't seem like you can change the height of the inputToolbar using the documented property preferredDefaultHeight since it is used to configure the height constraint in viewDidLoad.
In order to fix the bug I added the line of code:

self.toolbarHeightConstraint.constant = self.inputToolbar.preferredDefaultHeight;

In the method:

viewWillAppear, and now the view load with the correct constraints.
@GuyKahlon GuyKahlon closed this Mar 3, 2016
@GuyKahlon GuyKahlon deleted the Bug_Fix_1449 branch March 3, 2016 13:14
@jessesquires
Copy link
Owner

Hey @GuyKahlon — this looked good, what's the reason for closing?

@GuyKahlon
Copy link
Contributor Author

I don't know, I got a message some unit tests are failed, I send you a new pull request.

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

Successfully merging this pull request may close these issues.

2 participants