Skip to content

Instantly share code, notes, and snippets.

@yoga-
yoga- / UIDevice+serialNumber.h
Created September 20, 2016 07:53 — forked from 0xced/UIDevice+serialNumber.h
UIDevice+serialNumber
/*
* Adds the serialNumber property to the UIDevice class
*
* The implementation uses undocumented (for iOS) IOKit functions,
* so handle with caution and be prepared for nil.
*/
#import <UIKit/UIDevice.h>
@interface UIDevice (serialNumber)