We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in startfocusingview:
if(imageView.contentMode == UIViewContentModeScaleAspectFill) { CGSize size; size = [self sizeThatFitsInSize:finalImageFrame.size initialSize:imageView.image.size]; finalImageFrame.size = size; finalImageFrame.origin.x = (focusViewController.view.bounds.size.width - size.width)/2; finalImageFrame.origin.y = (focusViewController.view.bounds.size.height - size.height)/2; }
you also need to check if content mode is scale to fill. worked for me.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
in startfocusingview:
you also need to check if content mode is scale to fill. worked for me.
The text was updated successfully, but these errors were encountered: