iOS Question How to generate random UUID?

klarsys

Active Member
Licensed User
I used following code in B4A:
B4X:
Dim r As Reflector
r.Target = r.RunStaticMethod("java.util.UUID", "randomUUID", Null, Null)
UUID = r.RunMethod("toString")

How do I generate such in B4i?
 
Top