RepDetailAllAppear.m 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // RepDetailAllAppear.m
  3. // LN_School
  4. //
  5. // Created by EchoShacolee on 2017/6/19.
  6. // Copyright © 2017年 Danson. All rights reserved.
  7. //
  8. #import "RepDetailAllAppear.h"
  9. @interface RepDetailAllAppear ()
  10. @end
  11. @implementation RepDetailAllAppear
  12. - (void)viewDidLoad {
  13. [super viewDidLoad];
  14. self.navigationController.navigationBar.translucent = NO;
  15. self.view.backgroundColor = KBackGroundColor;
  16. [self goBackByNavigation];
  17. UILabel * lab = [[UILabel alloc]initWithFrame:CGRectMake(10, 20, kSize.width-20, kSize.height)];
  18. lab.text = self.str;
  19. lab.numberOfLines = 0;
  20. [lab sizeToFit];
  21. lab.textColor = KContentTextColor;
  22. [self.view addSubview:lab];
  23. }
  24. - (void)didReceiveMemoryWarning {
  25. [super didReceiveMemoryWarning];
  26. // Dispose of any resources that can be recreated.
  27. }
  28. /*
  29. #pragma mark - Navigation
  30. // In a storyboard-based application, you will often want to do a little preparation before navigation
  31. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  32. // Get the new view controller using [segue destinationViewController].
  33. // Pass the selected object to the new view controller.
  34. }
  35. */
  36. @end