Advertisement
priore

Easy custom back button

May 21st, 2012
819
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. UIButton* customBackButton = [UIButton buttonWithType:101];
  2. [customBackButton setTitle:@"Back" forState:UIControlStateNormal];
  3. [customBackButton setCenter:self.view.center];
  4. [self.view addSubview:customBackButton];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement