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

Layout fixes to CoreML view. #6

Merged
merged 1 commit into from Jun 29, 2017

Conversation

CameronBanga
Copy link

Added some auto layout constraints, and removed one line limit on CoreML response results, so that a good number of returns will no longer truncate a the response and accuracy values.

…eML response results, so that a good number of returns will no longer truncate a the response and accuracy values.
@CameronBanga
Copy link
Author

Here's an example. I added some 10 point margins to right and left of the view, dumped the 1 line limit, and centered the text inside of the textview.

This may have issues on an iPhone 5 (though I doubt it), or if the response is super super long (I've done ~20 or so with new layout and didn't see issue in any of the responses).

Tested on an iPhone 7, running iOS 11 b2 of course.

img_4364

@artemnovichkov artemnovichkov merged commit dff2862 into artemnovichkov:master Jun 29, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants