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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-06-2010, 01:01 AM   #1 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 43
ashishjraval is on a distinguished road
Default UIPopoverController in UIsegment

Hello Friends,

Here I want to doing use this UIPopoverController in UIsegment control so can i use this..? if yes then giving some code ya reference ..

It's Urgent Friends...

From
Ashish Raval
ashishjraval is offline   Reply With Quote
Old 07-06-2010, 07:45 AM   #2 (permalink)
el guaje
 
kevinyide's Avatar
 
Join Date: Jun 2010
Posts: 243
kevinyide is on a distinguished road
Send a message via Yahoo to kevinyide
Default

Yes, you can perform a pop on UISegmentedControl.

This should help:
Note that the code below has the segmentedControl created programmatically.
Code:
[segmentedControl addTarget:self action:@selector(segmentAction:) forControlEvents:UIControlEventValueChanged];

- (void)segmentAction:(id)sender
{
	UISegmentedControl* segControl = sender;
	NSLog(@"segment clicked %d", [segControl selectedSegmentIndex]);
    
        if([segControl selectedSegmentIndex]==1) // my specified index
       {

             // pop some view    
       }
}
kevinyide is offline   Reply With Quote
Old 07-07-2010, 12:26 AM   #3 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 43
ashishjraval is on a distinguished road
Default

Quote:
Originally Posted by kevinyide View Post
Yes, you can perform a pop on UISegmentedControl.

This should help:
Note that the code below has the segmentedControl created programmatically.
Code:
[segmentedControl addTarget:self action:@selector(segmentAction:) forControlEvents:UIControlEventValueChanged];

- (void)segmentAction:(id)sender
{
	UISegmentedControl* segControl = sender;
	NSLog(@"segment clicked %d", [segControl selectedSegmentIndex]);
    
        if([segControl selectedSegmentIndex]==1) // my specified index
       {

             // pop some view    
       }
}
my dear friend i want to segment control when i click on touch i can show the uisegment as pop in my touch location is it possible kevinyide if yes then giving me use of pop code for segment please it's urgent friend please
ashishjraval is offline   Reply With Quote
Old 07-08-2010, 05:57 AM   #4 (permalink)
el guaje
 
kevinyide's Avatar
 
Join Date: Jun 2010
Posts: 243
kevinyide is on a distinguished road
Send a message via Yahoo to kevinyide
Default

i didnt understand a thing that u said! take a moment and rephrase your prev reply clearly.
kevinyide is offline   Reply With Quote
Old 07-09-2010, 04:37 AM   #5 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 43
ashishjraval is on a distinguished road
Default

Quote:
Originally Posted by kevinyide View Post
i didnt understand a thing that u said! take a moment and rephrase your prev reply clearly.
I get it segment control in UIPOP..

but now when i click on segment control ( call from other XIB and class) then call other class methods which i got it but all object's from that class has to be nill so..what i do now...

Note: I'm already alloc that class as well as Init it also
ashishjraval is offline   Reply With Quote
Reply

Bookmarks

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: 328
7 members and 321 guests
anothermine, Chickenrig, givensur, iNet, michaelhansen, PixelInteractive, stanny
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,118
Posts: 402,892
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

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