| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- //
- // MessageViewController.m
- // iSales-NPD
- //
- // Created by Ray on 3/22/16.
- // Copyright © 2016 United Software Applications, Inc. All rights reserved.
- //
- #import "SimplifiedBuyingProgramViewController.h"
- @interface SimplifiedBuyingProgramViewController ()
- @end
- @implementation SimplifiedBuyingProgramViewController
- - (void)viewDidLoad {
- [super viewDidLoad];
-
- UIBarButtonItem *closeButton = [[UIBarButtonItem alloc] initWithImage:[[UIImage imageNamed:@"close"] imageWithRenderingMode:UIImageRenderingModeAutomatic]
- style:UIBarButtonItemStylePlain
- target:self
- action:@selector( onCloseClick:)];
-
-
- self.navigationItem.rightBarButtonItem = closeButton;
-
-
- self.edgesForExtendedLayout = UIRectEdgeNone;
- // Do any additional setup after loading the view.
- }
- - (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
- // Dispose of any resources that can be recreated.
- }
- - (IBAction)onCloseClick:(id)sender {
- [self dismissViewControllerAnimated:true completion:nil];
- }
- /*
- #pragma mark - Navigation
- // In a storyboard-based application, you will often want to do a little preparation before navigation
- - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
- // Get the new view controller using [segue destinationViewController].
- // Pass the selected object to the new view controller.
- }
- */
- @end
|