SCAdContentView
@interface SCAdContentView : UIView
SCAdContentView is a simple subclass of UIView. Its only task is to override the value for ‘intrinsicContentSize’ and give back the size (we only care for the height) of a possibly added AVPlayerLayer sublayer. If there is no AVPlayerLayer added we give back a zero height (or the height of the value initialHeight which can be assigned) as a standard height.
-
var initialHeight: Can be used to give the view an intrinsic content height before contentSubview has been added.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) CGFloat initialHeight; -
Undocumented
Declaration
Objective-C
@property (nonatomic, weak) id<SCAdViewDelegate> delegate -
Undocumented
Declaration
Objective-C
@property (nonatomic, weak) IBOutlet UIButton *skipButton -
Undocumented
Declaration
Objective-C
@property (nonatomic, weak) IBOutlet UIButton *soundButton -
Undocumented
Declaration
Objective-C
@property (nonatomic, weak) IBOutlet UIButton *replayButton -
Undocumented
Declaration
Objective-C
- (IBAction)skipButtonPressed:(id)sender; -
Undocumented
Declaration
Objective-C
- (IBAction)soundButtonPressed:(id)sender; -
Undocumented
Declaration
Objective-C
- (IBAction)replayButtonPressed:(id)sender;
SCAdContentView Class Reference