hank
2017-09-04 9a3bc82de50bb34d5719adabbbd2a74f37d8e322
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * CBMoreAppsButton.h
 * Chartboost
 * 6.6.3
 *
 * Copyright 2011 Chartboost. All rights reserved.
 */
 
/*!
 @class CBMoreAppsButton
 
 @abstract
 Class for creating a UIVIew that will trigger displaying a 
 Chartboost MoreApps ad when tapped.
 
 @discussion For more information on integrating and using the Chartboost SDK
 please visit our help site documentation at https://help.chartboost.com
 */
@interface CBMoreAppsButton : UIView
 
/*!
 @abstract
 Returns a button with a custom image that is launches the More Applications page.
 
 @param customImage the UIImage object to be displayed as the button interface.
 
 @param viewController the view controller object to which the button with be added.
 
 @param location The location for the Chartboost impression type.
 
 @return CBMoreAppsButton formatted with a custom image and badge icon.
 
 @discussion This method returns a customizable button with update badge that launches the more apps
 page from an optional presenting view controller object or the main window if nil. The frame of the
 button is set to the size of the customImage object plus the radius of the badge icon. The position
 of this object can be adjusted using the center property of the button object after initialization.
 
*/
 
+ (CBMoreAppsButton *)moreAppsButtonWithImage:(UIImage *)customImage
                           fromViewController:(UIViewController *)viewController
                                     location:(CBLocation)location;
 
@end