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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-05-2009, 10:18 PM   #1 (permalink)
Registered Member
 
Join Date: Nov 2009
Location: Orange County, California
Posts: 36
Send a message via AIM to ShayansMind Send a message via Skype™ to ShayansMind
Smile Specify ActionSheet Button

ok, so i have a uipickerview
and it has 6 rows when each row is clicked a uiactionsheet will show up
now i want it so when i click the destruction button on the actionview for my action to happen, i can make it only happen for one actionsheet is there away i can do it for 2 or more

code

-(void)actionSheetUIActionSheet *)actionSheet clickedbuttonAtIndexNSInteger)buttonIndex {

if (buttonIndex == 0) {
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:2.2];
[UIView setAnimationTransition:UIViewAnimationTransitionFl ipFromLeft forView:self cache:YES];
[squirrelview removeFromSuperview];
[self addSubview:chickenMode];
[UIView commitAnimations];
}
}

is there away i could do multiple actionsheets buttons?

Last edited by ShayansMind; 12-05-2009 at 11:02 PM.
ShayansMind is offline   Reply With Quote
Old 12-05-2009, 11:41 PM   #2 (permalink)
Registered Member
 
Join Date: Nov 2009
Location: Orange County, California
Posts: 36
Send a message via AIM to ShayansMind Send a message via Skype™ to ShayansMind
Default Fixed It!

just set a tag property! why didn't I think of that hmmm...
ShayansMind is offline   Reply With Quote
Old 12-06-2009, 12:05 AM   #3 (permalink)
Registered Member
 
Join Date: Nov 2009
Location: Orange County, California
Posts: 36
Send a message via AIM to ShayansMind Send a message via Skype™ to ShayansMind
Default Nevermind

Quote:
Originally Posted by ShayansMind View Post
just set a tag property! why didn't I think of that hmmm...
actually that doesn't work

someone HELPME!
ShayansMind is offline   Reply With Quote
Old 01-17-2010, 11:49 PM   #4 (permalink)
Registered Member
 
Join Date: Nov 2009
Location: Orange County, California
Posts: 36
Send a message via AIM to ShayansMind Send a message via Skype™ to ShayansMind
Default It works!

search tags
ShayansMind is offline   Reply With Quote
Reply

Bookmarks

Tags
actionsheet, pickerview, uiactionsheet, uibutton

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 268
20 members and 248 guests
@sandris, AdamL, ADY, Dani77, diyora, FAED, F_Bryant, GHuebner, HDshot, headkaze, mer10, Oral B, prchn4christ, Rudy, smithdale87, Thompson22, timle8n1, Touchmint, twerner, vigu360
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,880
Threads: 89,228
Posts: 380,750
Top Poster: BrianSlick (7,129)
Welcome to our newest member, @sandris
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:57 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0