AI-generated Key Takeaways
-
UMPDebugGeography
provides debug values for testing geographic location functionalities. -
It includes three options:
disabled
,EEA
, andnotEEA
, allowing developers to simulate a user's location as either within or outside the European Economic Area. -
These options are used for testing purposes to ensure the app behaves correctly based on geographic location.
UMPDebugGeography
enum UMPDebugGeography : NSInteger {}
Debug values for testing geography.
-
< Disable geography debugging.
Declaration
Swift
case disabled = 0
Objective-C
UMPDebugGeographyDisabled = 0
-
< Geography appears as in EEA for debug devices.
Declaration
Swift
case EEA = 1
Objective-C
UMPDebugGeographyEEA = 1
-
< Geography appears as in a regulated US State.
Declaration
Swift
case regulatedUSState = 3
Objective-C
UMPDebugGeographyRegulatedUSState = 3
-
< Geography appears as in a region with no regulation in force.
Declaration
Swift
case other = 4
Objective-C
UMPDebugGeographyOther = 4
-
Deprecated
Deprecated. Use UMPDebugGeographyOther.
Undocumented
Declaration
Swift
case notEEA = 2
Objective-C
UMPDebugGeographyNotEEA __attribute__((deprecated("Deprecated. Use UMPDebugGeographyOther."))) = 2