This commit is contained in:
Frederic Jacobs 2015-02-06 10:45:32 +01:00
parent 7242680464
commit bbc4e3648e
2 changed files with 3 additions and 1 deletions

View file

@ -16,7 +16,7 @@
@interface MessagesViewController : JSQMessagesViewController <UIImagePickerControllerDelegate,
UINavigationControllerDelegate,
UITextViewDelegate,AVAudioRecorderDelegate,AVAudioPlayerDelegate>
UITextViewDelegate,AVAudioRecorderDelegate,AVAudioPlayerDelegate, UIGestureRecognizerDelegate>
@property (nonatomic, retain) APNavigationController *navController;

View file

@ -202,6 +202,8 @@ typedef enum : NSUInteger {
name:UIApplicationWillEnterForegroundNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(cancelReadTimer)
name:UIApplicationDidEnterBackgroundNotification object:nil];
self.navigationController.interactivePopGestureRecognizer.delegate = self; // Swipe back to inbox fix. See http://stackoverflow.com/questions/19054625/changing-back-button-in-ios-7-disables-swipe-to-navigate-back
}
-(void) initializeTextView {