Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 09-09-2010, 07:41 PM   #14 (permalink)
PolishDemon
FailDev xD
 
Join Date: Mar 2009
Posts: 64
PolishDemon is on a distinguished road
Send a message via AIM to PolishDemon
Default

I don't think you guys need to change the tags. If you're used to it, fine, but I'm pretty sure you can do this w/o any problems:

Code:
//Two alert views named alertOne and alertTwo
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
     if(alertView == alertOne) {
          //do custom code for first alert view
     }
     else if(alertView == alertTwo) {
          //do custom code for second alert view
     }
}
I'm pretty sure this would work. If I'm wrong, feel free to correct me. I'm learning just like many others on this forum are!
__________________
~Proud to suck at developing...right now xD
PolishDemon is offline   Reply With Quote
 

» Advertisements
» Online Users: 425
15 members and 410 guests
alexdesuja, chemistry, Chickenrig, EvilElf, iconomania, ipodphone, iram91418, larhondaxzcw, linkmx, Manish915, Mnadeep, nanijoe, PlutoPrime, SamorodovAlex, zhaoningmei
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,585
Threads: 94,082
Posts: 402,773
Top Poster: BrianSlick (7,990)
Welcome to our newest member, alexdesuja
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:21 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.