Permalink
Browse files

Fix: activity position

  • Loading branch information...
1 parent db451ab commit c4d99750dff2d1ddae6167fe32aac8aea9cf0eb1 @r-plus committed Feb 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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];

0 comments on commit c4d9975

Please sign in to comment.