If self.navigationController.navigationBar.hidden = YES will be used the offset of the view is not correctly calculated.
I added the - (BOOL)isNavigationBarInNavigationControllerHidden:(UINavigationController *)navController method to check the navigation controller isNavigationBarHidden property and the navigation controllers navigationBar isHidden property.

In the example project there is a debug value for navigationBar.hidden and it must be removed in the main release.
+ (BOOL)isNavigationBarInNavigationControllerHidden:(UINavigationController *)navController is now a static method call.

removed the debug value in the example project

calculating the view height in TSMessageView is now correct
Changelog added
Merge pull request #119 from mRs-/hidden-bugfix

UINavigationBar isHidden bugfix
Moved out recent changes of README
Bugfix: Tapping of TSMessageView doesn't dismiss it
Cause: Two tap gesture recognzier is added to the view which cancels the previous one
Merge pull request #129 from schystz/master

Bugfix: Tapping of TSMessageView doesn't dismiss it