2016-11-01 2 views

답변

1

FUNC에있는 tableView (_있는 tableView : jQuery과, cellForRowAt indexPath : IndexPath) -> {있는 UITableViewCell

let cell: FeedCell = tableView.dequeueReusableCell(withIdentifier: "VedioCell", for: indexPath) as! FeedCell 

    let player = playerArray[indexPath.row] 
    let playerLayer = AVPlayerLayer(player: player) 
    playerLayer.frame = CGRect(x:0, y: 0, width: UIScreen.main.bounds.width, height: 200) 
    cell.PlayerView?.layer.addSublayer(playerLayer) 

}