Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let advertisingIdentifier: NSUUID!
- @IBAction func buttonPressed(sender: AnyObject) {
- print("You clicked the button")
- let addId = advertisingIdentifier().UUIDString
- let buttonIsPushedId = "THISBUTTONID"
- //send addId (my advertisingIdentifier) and buttonIsPushedId on some server
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement