getCurrentRegion
The getCurrentRegion API is used by the MPP app to get the user's current region.
Method signature
copy
- (nullable NSString *)getCurrentRegion;
Response parameters
Type | Length | Description | Required |
NSString | / | The user's current region that is obtained based on time zone. notices.
| O |
Sample
copy
NSString *region = [[MPPAlipayPlusClient shared] getCurrentRegion];