This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix so GHUnitIOSViewController is compilable when using iOS6 as a bas…

…e SDK
  • Loading branch information...
nacho4d committed Aug 13, 2014
1 parent 47a0b57 commit 75829082ff980f9c12353c2e8f8884949b49a28c
Showing with 2 additions and 0 deletions.
  1. +2 −0 Classes-iOS/GHUnitIOSViewController.m
@@ -46,8 +46,10 @@ @implementation GHUnitIOSViewController
- (id)init {
if ((self = [super init])) {
self.title = @"Tests";
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000
if ([self respondsToSelector:@selector(edgesForExtendedLayout)])
self.edgesForExtendedLayout = UIRectEdgeNone;
#endif
}
return self;
}

0 comments on commit 7582908

Please sign in to comment.