Skip to content

Instantly share code, notes, and snippets.

@zjklyl931081
zjklyl931081 / UIDevice+serialNumber.h
Created March 14, 2017 10:01 — 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)