123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- //
- // descVC.m
- // jiaPei
- //
- // Created by apple on 16/1/21.
- // Copyright © 2016年 JCZ. All rights reserved.
- //
- #import "descVC.h"
- @interface descVC ()
- @end
- @implementation descVC
- - (void)viewDidLoad {
- [super viewDidLoad];
- self.title = _titleString;
- self.view.backgroundColor = KBackGroundColor;
- [self goBackByNavigation];
-
- UITextView *tv = [[UITextView alloc] initWithFrame:CGRectMake(20, 10, kSize.width - 40, kSize.height)];
- tv.backgroundColor = KBackGroundColor;
- tv.userInteractionEnabled = NO;
- tv.text = _desc;
- if (_desc.length == 0)
- {
- if ([_titleString isEqualToString:@"路线详情"]) {
- tv.text = @"暂无路线信息";
- }else{
- tv.text = @"暂无相关简介";
- }
- }
- [tv setFont:[UIFont scaleSize:Font17]];
- [self.view addSubview:tv];
- }
- - (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
- // Dispose of any resources that can be recreated.
- }
- /*
- #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
|