Fixes for iPad and Message composer presentation

This commit is contained in:
Andreas Linde 2012-10-06 01:43:39 +02:00
parent 4d8ed6b408
commit 478f26a7f6
3 changed files with 2 additions and 6 deletions

View File

@ -30,7 +30,7 @@
#import <UIKit/UIKit.h>
#import "BITHockeyBaseViewController.h"
@interface BITFeedbackComposeViewController : BITHockeyBaseViewController <UITextViewDelegate>
@interface BITFeedbackComposeViewController : UIViewController <UITextViewDelegate>
- (id)init;

View File

@ -94,11 +94,6 @@
[self.view addSubview:self.textView];
}
- (void)viewDidUnload {
[super viewDidUnload];
// Release any retained subviews of the main view.
}
- (void)viewWillAppear:(BOOL)animated {
self.manager.currentFeedbackComposeViewController = self;

View File

@ -154,6 +154,7 @@
BITFeedbackComposeViewController *composeController = [[[BITFeedbackComposeViewController alloc] init] autorelease];
UINavigationController *navController = [[[UINavigationController alloc] initWithRootViewController:composeController] autorelease];
navController.modalPresentationStyle = UIModalPresentationFormSheet;
[self.navigationController presentModalViewController:navController animated:YES];
}