Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug in UIViewController+FKLoading when viewToReplace isn't dire…

…ct subview of viewController.view
  • Loading branch information...
commit 8e672185be49b575bd850bfecdafe3490777696f 1 parent 037fe14
@myell0w myell0w authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  UIViewController+FKLoading.m
View
2  UIViewController+FKLoading.m
@@ -74,7 +74,7 @@ - (void)showLoadingIndicatorInsteadOfView:(UIView *)viewToReplace {
viewToReplace.alpha = 0.f;
self.replacedObject = viewToReplace;
- [self.view addSubview:activityView];
+ [viewToReplace.superview addSubview:activityView];
[activityView startAnimating];
}
Please sign in to comment.
Something went wrong with that request. Please try again.