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

Fixed issues in iPad landscape #104

Merged
merged 5 commits into from
Feb 14, 2016
Merged

Fixed issues in iPad landscape #104

merged 5 commits into from
Feb 14, 2016

Conversation

BenchR267
Copy link
Contributor

Fixes issues when started in landscape. Check #100

@@ -256,27 +258,6 @@ class CameraView: UIViewController {
delegate?.imageToLibrary()
}

func cropImage(image: UIImage) -> UIImage {
guard let imageReference = CGImageCreateWithImageInRect(image.CGImage,
CGRect(x: 0, y: 0, width: image.size.height - 285, height: image.size.width)) else { return UIImage() }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyway: why was here UIImage() returned instead of the input parameter?

@BenchR267
Copy link
Contributor Author

Update: I also added a configuration flag to set if the collectionView should be hide itself while the photo is being taken. The default behaviour is unchanged.

@RamonGilabert
Copy link
Contributor

For some reason Travis doesn't pass. Could you check that @BenchR267?

@BenchR267
Copy link
Contributor Author

$ brew install carthage Error: carthage-0.11 already installed

Was the error why it failed.. I don't know how the CI configuration is done but that should not cause an error. Is it possible to just restart the build @RamonGilabert?

@zenangst
Copy link
Contributor

@BenchR267 try removing - brew install carthage from .travis.yml and I think it should work.

@BenchR267
Copy link
Contributor Author

Seems to work now, thanks 👍 I also merged the master to resolve merge conflicts.

zenangst added a commit that referenced this pull request Feb 14, 2016
@zenangst zenangst merged commit 27f43c9 into hyperoslo:master Feb 14, 2016
@zenangst
Copy link
Contributor

@BenchR267

tumblr_noqm39bgem1u0ci4io1_500

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.

3 participants