Skip to content

Instantly share code, notes, and snippets.

@S1ReX
Created November 14, 2012 13:01
Show Gist options
  • Select an option

  • Save S1ReX/4071968 to your computer and use it in GitHub Desktop.

Select an option

Save S1ReX/4071968 to your computer and use it in GitHub Desktop.
static UIView *_contentView;
%hook SBAppSwitcherBarView
-(id)initWithFrame {
CGRect viewRect = CGRectMake(0, 0, 100, 100);
UIView *myView = [[UIView alloc] initWithFrame:viewRect];
{_contentView addSubView:myView];
}
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment