Help with UIPasteboard

Discussion in 'iOS Development' started by cwe7976, Jun 2, 2009.

Thread Status:
Not open for further replies.
  1. cwe7976

    cwe7976 New Member

    Joined:
    Oct 4, 2007
    Messages:
    10
    Likes Received:
    0
    (SOLVED): Help with UIPasteboard

    Hi,

    I am trying to use the [UIPasteboard generalPasteboard] to copy a NSString into the clipboard when a button is pressed.

    (UPDATE: )
    I did:

    UIPasteboard *pb = [UIPasteboard generalPasteboard];
    [pb setText

    Please Register or Log in to view images

    "asdf"];

    hah, woops!

    Casey
  2. SkylarEC

    SkylarEC Super Moderator Emeritus Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    6,642
    Likes Received:
    129
    3.0 API is under NDA.
Thread Status:
Not open for further replies.

Share This Page