How to generate 32 bit UUID in iOS? <p>I know that can generate a UUID with <a href="https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSUUID_Class/index.html" rel="nofollow">NSUUID</a>:</p> <pre><code>NSString *uuid = [[NSUUID UUID] UUIDString]; </code></pre> <p>But this is 128-bit values.</p> <p>I want to get a 32-bit UUID how to do that?</p>