view添加阴影

  tableView.layer.shadowColor = [UIColor blackColor].CGColor;

    tableView.layer.shadowOpacity = 0.6;

    tableView.layer.shadowRadius = 5.0;

    tableView.layer.shadowOffset = CGSizeMake(0, 1);

    tableView.clipsToBounds = NO;

posted @ 2017-04-26 09:21  昊天科技  阅读(170)  评论(0编辑  收藏  举报