/iAppInfos

iAppInfos allows a easy access to ALL important App informations : iOS version, Device model, Free Disk Space, Mobile provisionning infos

Primary LanguageObjective-CMIT LicenseMIT

iAppInfos

Twitter License MIT Cocoapods

iAppInfos allows a easy access to ALL important App informations.

Image

#Available informations

Device infos

  • iOS version
  • Device model
  • Device type
  • Device performace (Has good graphical performance?)
  • Free disk space
  • Free memory space
  • Battery level
  • Operator name

Apps infos

  • Targeted iOS version
  • App version number
  • App short Version number
  • SDK use for compilation
  • Mobile provisionning push information (enable or not),
  • Mobile provisionning dev information (development / production),
  • Mobile provisionning UDID list (provisioned devices),

##Add custom values

  • WS Configuration
  • Token push
[[AppInformationsManager sharedManager] addCustomValue:@"This is a custom value" 
                                          forCustomKey:@"CustomKey1"];

Usage in the real life

Present all informations in a tableView (try the demo)

See the sample, a very classic TableView Controller (JMOViewController)

Get informations one by one

//Using properties
[AppInformationsManager sharedManager].targetedVersion
[AppInformationsManager sharedManager].currentOSVersion
[AppInformationsManager sharedManager].appVersion
[AppInformationsManager sharedManager].shortAppVersion
[AppInformationsManager sharedManager].freeMemorySpace
[AppInformationsManager sharedManager].operatorName
[AppInformationsManager sharedManager].deviceModelName
[AppInformationsManager sharedManager].deviceModelType
[AppInformationsManager sharedManager].devicePowerInfo
[[AppInformationsManager sharedManager].devicePowerInfo hasGoodGraphicPerformance]
[AppInformationsManager sharedManager].compilationSDK
[AppInformationsManager sharedManager].freeDiskSpace
[AppInformationsManager sharedManager].batteryLevel
[AppInformationsManager sharedManager].mobileProvisionning
[[AppInformationsManager sharedManager].mobileProvisionning provisionedDevices]
[[AppInformationsManager sharedManager].mobileProvisionning pushConfiguration]

//Using dictionnary keys
[[AppInformationsManager sharedManager] infoForKey:AppVersionManagerKeyYouriOSVersion];

##Defined keys are :

#define AppVersionManagerKeyTargetedVersion             @"targetedVersion"
#define AppVersionManagerKeyYouriOSVersion              @"currentOSVersion"
#define AppVersionManagerKeyCFBundleVersion             @"appVersion"
#define AppVersionManagerKeyCFBundleShortVersionString  @"shortAppVersion"
#define AppVersionManagerKeyFreeMemory                  @"freeMemorySpace"
#define AppVersionManagerKeyOperator                    @"operatorName"
#define AppVersionManagerKeyYourDeviceModel             @"deviceModelName"
#define AppVersionManagerKeyYourDeviceType              @"deviceModelType"
#define AppVersionManagerKeyGraphicalPerformance        @"devicePowerInfo"
#define AppVersionManagerKeyCompilationSDK              @"compilationSDK"
#define AppVersionManagerKeyFreeDiskSpace               @"freeDiskSpace"
#define AppVersionManagerKeyBatteryLevel                @"batteryLevel"
#define AppVersionManagerKeyMobileProvisionning         @"mobileProvisionning"