daily pastebin goal
8%
SHARE
TWEET

Untitled

a guest Jan 21st, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. UIImageView *imgView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 88)];
  2. UIImage *img = [UIImage imageNamed:@"top_bar.png"];
  3. [imgView setImage:img];
  4. [self.view addSubview:imgView];
  5.    
  6. UIButton *navigationButton = [UIButton buttonWithType:UIButtonTypeCustom];
  7. [navigationButton setImage: [UIImage imageNamed:@"back.png"] forState:UIControlStateNormal];
  8. [navigationButton addTarget:view action:@selector(backButtonPressed:) forControlEvents:UIControlEventTouchUpInside];
  9. navigationButton.frame = CGRectMake(-2, 23, 75, 55);
  10. [self.view addSubview:navigationButton];
  11.    
  12. If your user interface is complex or less than very good, it may be rejected
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top