Ad Support (iOS)
Show or hide the ad badge on the video feed item
var config = VideoFeedContentConfiguration()
// Specifies if the sponsored/ad label should be shown on thumbnails
config.itemView.sponsored.isHidden = false
// Apply the changes for VideoFeedViewController instance
let feedVC = VideoFeedViewController()
feedVC.viewConfiguration = config
// Apply the changes for VideoFeedView instance
let videoFeedView = VideoFeedView()
videoFeedView.viewConfiguration = config
// Apply the changes for VideoFeedSwiftUIView instance
VideoFeedSwiftUIView(viewConfiguration: config)Customize ad badge styles
Customize player styles for video feed components
Customize player styles for story block components
Customize player styles for openVideoPlayer API
Last updated
Was this helpful?