Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Commit

Permalink
Merge pull request #164 from nacho4d/feature/ios6_sdk_support
Browse files Browse the repository at this point in the history
Fix GHUnitIOSViewController is compilable when using iOS6 as a base SDK
  • Loading branch information
x2on committed Aug 9, 2016
2 parents 47a0b57 + 7582908 commit fd25713
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes-iOS/GHUnitIOSViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit fd25713

Please sign in to comment.