diff --git a/Objective-C/TOCropViewController/TOCropViewController.m b/Objective-C/TOCropViewController/TOCropViewController.m index 4e5d1ef5..8816a219 100755 --- a/Objective-C/TOCropViewController/TOCropViewController.m +++ b/Objective-C/TOCropViewController/TOCropViewController.m @@ -423,7 +423,11 @@ - (void)adjustCropViewInsets if (!self.verticalLayout) { insets.left = CGRectGetMaxX(self.toolbar.frame); } else { - insets.bottom = CGRectGetHeight(self.view.frame) - CGRectGetMinY(self.toolbar.frame); + if (self.toolbarPosition == TOCropViewControllerToolbarPositionTop) { + insets.top = CGRectGetMinY(self.toolbar.frame); + } else { + insets.bottom = CGRectGetHeight(self.view.frame) - CGRectGetMinY(self.toolbar.frame); + } } }