iOS System Services

iOS System Services

Released 5 years ago , Last update 5 years ago

System Services is a singleton class to gather all available information about a device. Over 75 methods to determine everything from: System uptime, Network Information, Battery Usage, Accelerometer Data, Disk Usage, Running Processes, Memory Usage, and a complete UDID replacement based on unchanging device information.

iOS System Services is a singleton class to gather all available information about a device. There are over 75 methods to determine everything about a device, including: System Uptime, Network Information, Battery Usage, Accelerometer Data, Disk Usage, Running Processes, Memory Usage, and a complete UDID replacement based on unchanging device information.

4.7
  • 5 8
  • 4 3
  • 3 0
  • 2 0
  • 1 0
11 Reviews Read Reviews

Pricing

14 day 14-day money-back guarantee

FREE

MIT license

The MIT license is an open-source license.

Installation

Drag and drop the System Services Folder into your project. #import "SystemServices.h" into your code and get all the system information you want.

Supported SDK's

Supported: iOS 3.0 - 6.0

Tested working on iOS 5.0 - iOS 6.0

Usage

// System Information

// Properties

/* All System Information in Dictionary Format */
NSDictionary *allSystemInformation;

/* Hardware Information */

// System Uptime (dd hh mm)
NSString *systemsUptime;

// Model of Device
NSString *deviceModel;

// Device Name
NSString *deviceName;

// System Name
NSString *systemName;

// System Version
NSString *systemsVersion;

// System Device Type (Not Formatted = iPhone1,0)
NSString *systemDeviceTypeNotFormatted;

// System Device Type (Formatted = iPhone 1)
NSString *systemDeviceTypeFormatted;

// Get the Screen Width (X)
NSInteger screenWidth;

// Get the Screen Height (Y)
NSInteger screenHeight;

// Get the Screen Brightness
float screenBrightness;

// Multitasking enabled?
BOOL multitaskingEnabled;

// Proximity sensor enabled?
BOOL proximitySensorEnabled;

// Debugger Attached?
BOOL debuggerAttached;

// Plugged In?
BOOL pluggedIn;

/* Jailbreak Check */

// Jailbroken?
int jailbroken;

/* Processor Information */

// Number of processors
NSInteger numberProcessors;

// Number of Active Processors
NSInteger numberActiveProcessors;

// Processor Speed in MHz
NSInteger processorSpeed;

// Processor Bus Speed in MHz
NSInteger processorBusSpeed;

/* Accessory Information */

// Are any accessories attached?
BOOL accessoriesAttached;

// Are headphone attached?
BOOL headphonesAttached;

// Number of attached accessories
NSInteger numberAttachedAccessories;

// Name of attached accessory/accessories (seperated by , comma's)
NSString *nameAttachedAccessories;

/* Carrier Information */

// Carrier Name
NSString *carrierName;

// Carrier Country
NSString *carrierCountry;

// Carrier Mobile Country Code
NSString *carrierMobileCountryCode;

// Carrier ISO Country Code
NSString *carrierISOCountryCode;

// Carrier Mobile Network Code
NSString *carrierMobileNetworkCode;

// Carrier Allows VOIP
BOOL carrierAllowsVOIP;

/* Battery Information */

// Battery Level
float batteryLevel;

// Charging?
BOOL charging;

// Fully Charged?
BOOL fullyCharged;

/* Network Information */

// Get Current IP Address
NSString *currentIPAddress;

// Get Current MAC Address
NSString *currentMACAddress;

// Get External IP Address
NSString *externalIPAddress;

// Get Cell IP Address
NSString *cellIPAddress;

// Get Cell MAC Address
NSString *cellMACAddress;

// Get Cell Netmask Address
NSString *cellNetmaskAddress;

// Get Cell Broadcast Address
NSString *cellBroadcastAddress;

// Get WiFi IP Address
NSString *wiFiIPAddress;

// Get WiFi MAC Address
NSString *wiFiMACAddress;

// Get WiFi Netmask Address
NSString *wiFiNetmaskAddress;

// Get WiFi Broadcast Address
NSString *wiFiBroadcastAddress;

// Connected to WiFi?
BOOL connectedToWiFi;

// Connected to Cellular Network?
BOOL connectedToCellNetwork;

/* Process Information */

// Process ID
int processID;

// Process Name
NSString *processName;

// Process Status
int processStatus;

// Parent Process ID
int parentPID;

// List of process information including PID's, Names, PPID's, and Status'
NSMutableArray *processesInformation;

/* Disk Information */

// Total Disk Space
NSString *diskSpace;

// Total Free Disk Space (Raw)
NSString *freeDiskSpaceinRaw;

// Total Free Disk Space (Percentage)
NSString *freeDiskSpaceinPercent;

// Total Used Disk Space (Raw)
NSString *usedDiskSpaceinRaw;

// Total Used Disk Space (Percentage)
NSString *usedDiskSpaceinPercent;

// Get the total disk space in long format
long long longDiskSpace;

// Get the total free disk space in long format
long long longFreeDiskSpace;

/* Memory Information */

// Total Memory
double totalMemory;

// Free Memory (Raw)
double freeMemoryinRaw;

// Free Memory (Percent)
double freeMemoryinPercent;

// Used Memory (Raw)
double usedMemoryinRaw;

// Used Memory (Percent)
double usedMemoryinPercent;

// Active Memory (Raw)
double activeMemoryinRaw;

// Active Memory (Percent)
double activeMemoryinPercent;

// Inactive Memory (Raw)
double inactiveMemoryinRaw;

// Inactive Memory (Percent)
double inactiveMemoryinPercent;

// Wired Memory (Raw)
double wiredMemoryinRaw;

// Wired Memory (Percent)
double wiredMemoryinPercent;

// Purgable Memory (Raw)
double purgableMemoryinRaw;

// Purgable Memory (Percent)
double purgableMemoryinPercent;

/* Accelerometer Information */

// Device Orientation
UIInterfaceOrientation deviceOrientation;

/* Localization Information */

// Country
NSString *country;

// Language
NSString *language;

// TimeZone
NSString *timeZoneSS;

// Currency Symbol
NSString *currency;

/* Application Information */

// Application Version
NSString *applicationVersion;

// Clipboard Content
NSString *clipboardContent;

/* Universal Unique Identifiers */

// Unique ID
NSString *uniqueID;

// Device Signature
NSString *deviceSignature;

// CFUUID
NSString *cfuuid;

Demo

An example demo project is included with the download.

License » MIT license Download

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.


Or enter your name and Email
  • AI Alberto Iglesias 5 years ago
    The problem was the internet explorer, I download throught Mac and I did. Thanks
  • AI Alberto Iglesias 5 years ago
    Dear NIck, I canĀ“t download the iOS System Services Component, I connect the twitter, share but nothing, appear to me ERROR 404 on binpress page, can you send to me? Thank You
  • MT Mark Teicher 5 years ago
    is there a simple example available, broken down by information in the system dictionary instead of using a progress bar and NSArray
    • Nick Kramer Publisher 5 years ago
      Great question! Not yet, we are working on updating our example to provide better documentation. In the meantime, most of the methods are pretty self explanatory and come with comments to help explain their purpose. Hold tight for an update!