您的位置:首页 > 其它

hidesBottomBarWhenPushed 使用

2014-09-05 17:00 302 查看
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
    [tableView deselectRowAtIndexPath:indexPath animated:NO];
    if (indexPath.row == 0) {
        LDMyHomeViewController *myhome = [[LDMyHomeViewController alloc]init];
        <span style="color:#ff0000;">myhome.hidesBottomBarWhenPushed = YES;//此处设置后,其他地方无需设置</span>
        [self.navigationController pushViewController:myhome animated:YES];
    }
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: