bfgutils Class
bfgutils class More...
#import <bfgutils.h>
Class Methods | |
(BOOL) | + systemVersionGreaterThanOrEqualTo: |
(NSString *_Nonnull) | + bfgUDID |
(BOOL) | + bfgIFAEnabled |
(NSString *_Nullable) | + bfgIFA |
(NSString *_Nonnull) | + bfgIDFV |
(NSString *_Nonnull) | + userCountryCode |
(NSString *_Nonnull) | + userPreferredLanguage |
(NSNumber *_Nullable) | + attStatus |
Returns number representing App Tracking Transparency status for the user, will return -1 for pre-iOS 14.0 calls. | |
Detailed Description
bfgutils class Helpful utility methods.
Method Documentation
◆ bfgIDFV
+ (NSString *_Nonnull) bfgIDFV |
- Returns
- IDFV for device, can be nil in rare circumstances.
- Since
- 5.8
◆ bfgIFA
+ (NSString *_Nullable) bfgIFA |
- Returns
- Return values
IFA for device if IFA tracking has been enabled nil if IFA tracking is disabled
◆ bfgIFAEnabled
+ (BOOL) bfgIFAEnabled |
- Returns
- Return values
YES if IFA tracking has been enabled. NO if otherwise.
◆ bfgUDID
+ (NSString *_Nonnull) bfgUDID |
- Returns
- A Big Fish identifier for the user. NOT Apple's UDID.
◆ systemVersionGreaterThanOrEqualTo:
+ (BOOL) systemVersionGreaterThanOrEqualTo: | (NSString *_Nonnull) | versionString |
- Returns
- Return values
YES if the current iOS version is greater than or equal to versionString. NO if otherwise.
◆ userCountryCode
+ (NSString *_Nonnull) userCountryCode |
- Returns
- Country code of the user's device.
◆ userPreferredLanguage
+ (NSString *_Nonnull) userPreferredLanguage |
- Returns
- Preferred language of the user's device.