Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UIImageView *imgView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 88)];
- UIImage *img = [UIImage imageNamed:@"top_bar.png"];
- [imgView setImage:img];
- [self.view addSubview:imgView];
- UIButton *navigationButton = [UIButton buttonWithType:UIButtonTypeCustom];
- [navigationButton setImage: [UIImage imageNamed:@"back.png"] forState:UIControlStateNormal];
- [navigationButton addTarget:view action:@selector(backButtonPressed:) forControlEvents:UIControlEventTouchUpInside];
- navigationButton.frame = CGRectMake(-2, 23, 75, 55);
- [self.view addSubview:navigationButton];
- If your user interface is complex or less than very good, it may be rejected
Add Comment
Please, Sign In to add comment