Browse files

Changed self to super to prevent an infinite loop.

  • Loading branch information...
1 parent bce0b4d commit 6c3f59487e03defb59d6d9e33c0896f6ff98a2b8 Nik Bhattacharya committed with Mar 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/SCNavigationBar.m
View
2 Classes/SCNavigationBar.m
@@ -57,7 +57,7 @@ - (void)setBackgroundImage:(UIImage *)backgroundImage forBarMetrics:(UIBarMetric
{
if ([UINavigationBar instancesRespondToSelector:@selector(setBackgroundImage:forBarMetrics:)])
{
- [self setBackgroundImage:backgroundImage forBarMetrics:barMetrics];
+ [super setBackgroundImage:backgroundImage forBarMetrics:barMetrics];
}
else
{

0 comments on commit 6c3f594

Please sign in to comment.