要把一个控件隐藏在navigationBar后面伺机而动怎么办

时间:2015-06-04 13:35:16   收藏:0   阅读:104

 UILabel *showLabel = [[UILabel alloc]init];

    showLabel.backgroundColor = [UIColor redColor];

    [self.navigationController.view insertSubview:showLabel belowSubview:self.navigationController.navigationBar];

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!