gohypergiant / BPXLUUIDHandler

214 stars 37 forks source link

Fix for building in Xcode 5, use performSelector for UIDevice uniqueIdentifier. #10

Open danhbear opened 11 years ago

danhbear commented 11 years ago

This code no longer builds when using Xcode 5 because BPXLUUIDHandler calls UIDevice's -uniqueIdentifier method, which no longer exists. This change just only uses uniqueIdentifier if it is available. Note that this code only applies to the simulator, so for newer simulators it will generate a new UUID same as real devices.

screen shot 2013-07-10 at 11 58 07 am copy