Skip to content

Instantly share code, notes, and snippets.

View romanblachman's full-sized avatar

Roman Blachman romanblachman

  • Preempt Security
  • Israel
View GitHub Profile
@0xced
0xced / UIDevice+serialNumber.h
Last active March 21, 2025 02:27
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)