SimplifiedBuyingProgramViewController.m 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //
  2. // MessageViewController.m
  3. // iSales-NPD
  4. //
  5. // Created by Ray on 3/22/16.
  6. // Copyright © 2016 United Software Applications, Inc. All rights reserved.
  7. //
  8. #import "SimplifiedBuyingProgramViewController.h"
  9. @interface SimplifiedBuyingProgramViewController ()
  10. @end
  11. @implementation SimplifiedBuyingProgramViewController
  12. - (void)viewDidLoad {
  13. [super viewDidLoad];
  14. UIBarButtonItem *closeButton = [[UIBarButtonItem alloc] initWithImage:[[UIImage imageNamed:@"close"] imageWithRenderingMode:UIImageRenderingModeAutomatic]
  15. style:UIBarButtonItemStylePlain
  16. target:self
  17. action:@selector( onCloseClick:)];
  18. self.navigationItem.rightBarButtonItem = closeButton;
  19. self.edgesForExtendedLayout = UIRectEdgeNone;
  20. // Do any additional setup after loading the view.
  21. }
  22. - (void)didReceiveMemoryWarning {
  23. [super didReceiveMemoryWarning];
  24. // Dispose of any resources that can be recreated.
  25. }
  26. - (IBAction)onCloseClick:(id)sender {
  27. [self dismissViewControllerAnimated:true completion:nil];
  28. }
  29. /*
  30. #pragma mark - Navigation
  31. // In a storyboard-based application, you will often want to do a little preparation before navigation
  32. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  33. // Get the new view controller using [segue destinationViewController].
  34. // Pass the selected object to the new view controller.
  35. }
  36. */
  37. @end