gekitz/UIDevice-with-UniqueIdentifier-for-iOS-5
Tentang
Menghadirkan kembali dukungan ID unik di iOS 5. Aplikasi ini menggunakan alamat MAC perangkat bersama dengan ID bundle untuk menghasilkan ID unik baru yang di-hash.
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- -1
- dalam 1 bulan
- -1
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli** NOTE: this is not going to work under iOS 7 **
Description
Apple stopped supporting a unique identifier for iOS. This source code solves the problem. It generates a unique identifier based on the mac address of the device in combination with the bundle identifier.
What you need to do:
copy
NSString+MD5AdditionandUIDevice+IdentifierAdditionto your project.if your are using ARC in your project, you have to add the
-fno-objc-arcflag to both files. Apple ARC Guidelinesuse
[[UIDevice currentDevice] uniqueDeviceIdentifier]to retrieve the unique identifier (it's a hash of your Bundle ID + MAC address)use
[[UIDevice currentDevice] uniqueGlobalDeviceIdentifier]to retrieve a global unique identifier (it's a hash of the MAC address, used for tracking between different apps).have fun and follow gekitz ;)
//Thanks to Erica Sadun for her UIDevice+Hardware Addition (used for the mac address retrieval).
License
see license file.
Jelajahi proyek terkait
Memuat…