Sent from my iPhone
福士(Volkswagen)的品牌有著廣氾和普及化的代表性。每個人的品味和生活方式雖不同,見解和觀點也不一樣,但人都可藉著分享互相連結,就像福士象徵"The People's Car"。每個人都可以擁有,每個人都可以因而受惠。希望能與你分享@點點滴滴....
Dear Dev Juice,
Can you help me generate a unique identifier for my iOS apps? I don't want to rely on using UDIDs anymore. I'd say why but then you'd have to shoot me.
Watm-ever

Dear Watm-ever
That sounds dire. Let's avoid the violence and focus on the Core Foundation. Here you go. If you're not using ARC, then you'll need to autorelease uuidString rather than bridging.
You'll probably want to store your new ids into the keychain to allow them to persist.
Happy developing.
Dev Juice: Help me generate unique identifiers originally appeared on TUAW - The Unofficial Apple Weblog on Sun, 21 Aug 2011 14:00:00 EST. Please see our terms for use of feeds.
沒有留言:
發佈留言