• Stars
    star
    1,238
  • Rank 36,533 (Top 0.8 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 12 years ago
  • Updated almost 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Brings back the unique identifier support under iOS 5, it uses the device's mac address in combination with the bundle identifier to generate a new hashed unique identifier.

** 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+MD5Addition and UIDevice+IdentifierAddition to your project.

  • if your are using ARC in your project, you have to add the -fno-objc-arc flag to both files. Apple ARC Guidelines

  • use [[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.

More Repositories

1

GKImagePicker

Enables a custom crop rect for UIImagePickerController
Objective-C
591
star
2

GKSlidingText

Music.app / iTunes / lock screen / iRadio like sliding text
Objective-C
60
star
3

GKContactImage

Creates an avatar image like the iOS7 Contacts.app for a given name
Objective-C
56
star
4

GKPopoverController

A popover controller for iPhone
Objective-C
29
star
5

GKPopLoadingView

A custom loading view which is blocking the display, animations are build with Facebook's POP
Objective-C
14
star
6

GKPostKit

Easy to use framework to post status messages to Twitter and Facebook.
9
star
7

GKPeoplePickerNavigationController

A more flexibel and customisable implementation of ABPeoplePickerNavigationController
Objective-C
9
star
8

AAReorderControl

Allows drag&drop of one UIView between different UITableViews.
Objective-C
7
star
9

jalapeno

Observer a directory and copy changed files to another directory with node.js
JavaScript
5
star
10

GKBlocks

Addition for UIActionSheet and UIAlertView to support a block instead of a delegate to check which button was tapped
Objective-C
5
star
11

TrackTapOnAnimatedView

This project shows how to keep track of the touches on an animated UIView.
3
star
12

GKTMDBClient

2
star
13

GKKeySupportTableView

This let's you navigate in a UITableView with the arrow up/down key and selects a cell by hitting Enter
Objective-C
2
star
14

AASegmentControl

Custom SegmentControl for iOS. Based on background images for left, middle and right segment. Customizable font, text color and highlight text color.
1
star
15

SMImageGallery

1
star
16

LordCrashALot

Make fun out of Xcode crashes, find out who of us is the lord of the crashes
Objective-C
1
star
17

gekitz.github.com

Ruby
1
star