doorxp Blog

iOS 原生二维码扫描代码.

self.captureSession = [[AVCaptureSession alloc] init];          NSError *error;     // Set camera capture device to default and
作者:doorxp 分类:ObjC 浏览:943 评论:0

iOS 原生二维码生成代码.

  @implementation UIImage (QR) + (UIImage *)qrImageForString:(NSString *)string imageSize:(CGFloat)Imagesize {          CIFilter *filter = [CIFilte
作者:doorxp 分类:ObjC 浏览:937 评论:0

iOS 获取ip地址

这写头文件是用于获取ip等系列功能的#include <arpa/inet.h>#include <netdb.h> #include <net/if.h> #include <ifaddrs.h>#import <dlfcn.h> #import <SystemConfiguration/SystemConfiguration.h>  获
作者:doorxp 分类:Apple 浏览:843 评论:0

obfuscated key / key

struct tKeyMapping {     const char *    obfuscatedKey;     const char *    key; };   static const struct tKeyMapping&n
作者:doorxp 分类:THEOS 浏览:1495 评论:0

libMobileGestalt.dylib crashed when Hooking MGCopyAnswer for ARM64

You cannot hook MGCopyAnswer directly because it is too short.When CydiaSubstrate hooks a C function, it sorts of overwrites an assembly version of goto your_function; at the beginning of the original function. This "goto" in ARM64 is 16
作者:doorxp 分类:THEOS 浏览:1780 评论:0


作者:doorxp 分类:Apple 浏览:847 评论:0

How to Decode iPhone Serial Number --- old

In case you are not aware, the serial number provides some interesting information about your iPhone, including the week it was manufactured and the factory id.Folks at OS X Daily tell us that the serial number on the iPhone tells you the week
作者:doorxp 分类:Apple 浏览:1075 评论:0


My iPhone 5 lock button is not working properly, so I wrote this application.Locking the iDeviceSince I want to lock the device, I need to be able to trigger the same functionality iOS does when the lock button is hit. However, Apple does not play n
作者:doorxp 分类:THEOS 浏览:807 评论:0

How to Enable “Slide to Unlock” Feature in iOS 10 on iPhone/iPad

Step #1. Starting off, you need to take a backup of your iPhone using iTunes. The backup must be unencrypted.Step #2. Next, you have to download and install iBackupBot on your Mac/Windows.Step #3. Now, launch iBackupBot and select your backup.St
作者:doorxp 分类:Apple 浏览:845 评论:0