Need help with AlertViews

Discussion in 'iOS Programming' started by lynkynpark86, May 10, 2010.

  1. lynkynpark86 macrumors 6502

    I need help determining which button on an alertview was pressed. I know how to do this with an actionsheet, but not an alertview. I tried a few things, and they don't work. Please help
  2. robbieduncan Moderator emeritus


    Jul 24, 2002
    Did you read the delegate documentation? It seems to offer multiple ways to do this.

    Also instead of saying "I tried a few things, and they don't work." tell us exactly what you tried and in what way they didn't work. Otherwise we are likely to suggest you re-try things you have tried. Also post your code for the things you have tried: it is possible you have tried the correct thing but have not done it correctly. The more (and better quality) information you provide the better help you'll get.
  3. lynkynpark86 thread starter macrumors 6502


    Thanks! The website you linked to showed one thing I tried, but I tried it wrong. I now have it working fine. Thanks again.

Share This Page