From a770652d2f251090ae38d1fab806442670787d6b Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Wed, 9 Sep 2015 14:53:19 +0200 Subject: [PATCH] Fix feedback compose view rotation issue This fixes https://github.com/bitstadium/HockeySDK-iOS/issues/196 --- Classes/BITFeedbackComposeViewController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/BITFeedbackComposeViewController.m b/Classes/BITFeedbackComposeViewController.m index aff4acd5eb..6cd8a202dd 100644 --- a/Classes/BITFeedbackComposeViewController.m +++ b/Classes/BITFeedbackComposeViewController.m @@ -349,6 +349,8 @@ } if (!alreadySetup) { + CGSize tempTextViewSize = CGSizeMake(self.contentViewContainer.frame.size.width, self.contentViewContainer.frame.size.height); + textViewFrame.size = tempTextViewSize; textViewFrame.size.width -= scrollViewWidth; // height has to be identical to the textview! scrollViewFrame = CGRectMake(CGRectGetMaxX(textViewFrame), self.view.frame.origin.y, scrollViewWidth, CGRectGetHeight(self.textView.bounds));