Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix: activity position

  • Loading branch information...
commit c4d99750dff2d1ddae6167fe32aac8aea9cf0eb1 1 parent db451ab
r-plus authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  AllAroundPullView.m
2  AllAroundPullView.m
View
@@ -124,7 +124,7 @@ - (id)initWithScrollView:(UIScrollView *)scroll position:(AllAroundPullViewPosit
[self.layer addSublayer:self.arrowImage];
self.activityView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
- self.activityView.autoresizingMask = self.isSideView ? (UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleBottomMargin) : UIViewAutoresizingFlexibleWidth;
+ self.activityView.autoresizingMask = self.isSideView ? (UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleBottomMargin) : (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin);
self.activityView.frame = arrowAndActivityFrame;
[self addSubview:self.activityView];
Please sign in to comment.
Something went wrong with that request. Please try again.