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 February 7, 2024 06:14
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)