Skip to main content
Version: 8.6.x

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
IFAfor device if IFA tracking has been enabled
nilif IFA tracking is disabled

◆ bfgIFAEnabled

+ (BOOL) bfgIFAEnabled
Returns
Return values
YESif IFA tracking has been enabled.
NOif 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
YESif the current iOS version is greater than or equal to versionString.
NOif 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.