There are many view customizations that are exposed and can be accessed by the viewConfiguration of a VideoFeedViewController. All view configurations are value types which means changing the properties will not update the view state. To update the view state, simply set the viewConfiguration with the updated view configuration.
let feedVC =VideoFeedViewController()// Gets the default configurationvar config = feedVC.viewConfiguration// Sets the feed background to whiteconfig.backgroundColor = .white// Gets the feed item view configuration. This applies to all items in the feed.var itemConfig = config.itemView// Sets the corner radius to 4itemConfig.cornerRadius =4// Sets the title layout insets to 0itemConfig.titleLayoutConfiguration.insets = .zero// Sets the title position to stackeditemConfig.titleLayoutConfiguration.titlePosition = .stacked// Sets the title to System 18itemConfig.title.font = .systemFont(ofSize:18)// Sets the title number of lines to 1itemConfig.title.numberOfLines =1// Sets the title color to blackitemConfig.title.textColor = .black// Sets the title is hidden to falseitemConfig.title.isHidden =false// Specifies if the sposored label should be shown on thumbnailsitemConfig.sponsored.isHidden =false// Specifies if autoplay is enabled on thumbnails. itemConfig.autoplay.isEnabled =true// Updates the title configurationconfig.itemView = itemConfig// Must set the viewConfiguration property to apply the changesfeedVC.viewConfiguration = config