Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

- Fix Layout

Fixed a problem with the function autosizesubview
  • Loading branch information...
commit e8df54371554f87f389339c6bdc810133401c0d6 1 parent 06d02eb
Salvatore Ferranti authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  AKTabBarController/AKTabBarView.m
3  AKTabBarController/AKTabBarView.m
@@ -40,9 +40,10 @@ - (void)setContentView:(UIView *)contentView
40 40 {
41 41 [_contentView removeFromSuperview];
42 42 _contentView = contentView;
43   - _contentView.frame = CGRectZero;
  43 + //_contentView.frame = CGRectZero;
44 44 [self addSubview:_contentView];
45 45 [self sendSubviewToBack:_contentView];
  46 + [_contentView setNeedsDisplay];
46 47 }
47 48
48 49 #pragma mark - Layout & Drawing

0 comments on commit e8df543

Please sign in to comment.
Something went wrong with that request. Please try again.