From b59e20b9d1fcdf8b74c3a958625fb9c7cee6853e Mon Sep 17 00:00:00 2001 From: Borys Date: Tue, 23 Jul 2024 10:47:38 -0700 Subject: [PATCH] Fix multiline title --- Objective-C/TOCropViewController/TOCropViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objective-C/TOCropViewController/TOCropViewController.m b/Objective-C/TOCropViewController/TOCropViewController.m index a8fb131f..a4711b48 100755 --- a/Objective-C/TOCropViewController/TOCropViewController.m +++ b/Objective-C/TOCropViewController/TOCropViewController.m @@ -1110,7 +1110,7 @@ - (UILabel *)titleLabel _titleLabel.font = [UIFont preferredFontForTextStyle:UIFontTextStyleHeadline]; _titleLabel.backgroundColor = [UIColor clearColor]; _titleLabel.textColor = [UIColor whiteColor]; - _titleLabel.numberOfLines = 1; + _titleLabel.numberOfLines = 0; _titleLabel.baselineAdjustment = UIBaselineAdjustmentAlignBaselines; _titleLabel.clipsToBounds = YES; _titleLabel.textAlignment = NSTextAlignmentCenter;