SINDeviceRegion Class Reference

Inherits from NSObject
Declared in SINDeviceRegion.h

Overview

SINDeviceRegion is a helper class to get the current device’s ISO-3166-1 country code from the carrier information / SIM card.

+ currentCountryCode

Get the current device’s current region ISO-3166-1 country code based on: Primarily, the current SIM card’s carrier country code information if available. Fallback to querying [NSLocale currentLocale] for NSLocaleCountryCode.

+ (NSString *)currentCountryCode

Return Value

A ISO-3166-1 country code (uppercased)

Declared In

SINDeviceRegion.h