Resolved how to stop copy/delete/paste in settings bundle

Discussion in 'iPhone/iPad Programming' started by webznz, Apr 13, 2011.

  1. webznz, Apr 13, 2011
    Last edited: Apr 14, 2011

    macrumors member

    Joined:
    Mar 8, 2011
    Location:
    Hobbitin
    #1
    hi there i am wondering how you could stop copy/delete/paste in settings bundle UITextField?
     
  2. macrumors regular

    Joined:
    Aug 26, 2010
    #2
    Implement -(BOOL)canPerformAction: and return no for all items except yours.
     
  3. thread starter macrumors member

    Joined:
    Mar 8, 2011
    Location:
    Hobbitin
    #3
    cool thanks man :)
     
  4. macrumors regular

    Joined:
    Aug 26, 2010
    #4
    No problem, glad I could help.
     

Share This Page