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 > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 06-28-2010, 04:48 AM   #1 (permalink)
Registered Member
 
Join Date: Apr 2009
Posts: 82
smsawant is on a distinguished road
Default UIPopoverController problem in universal applicaation

i am using UIPopoverController in my universal application,
when i compile application on using sdk lower than 3.2 it is giving me some error.following are that errors when i compile,

1)cannot find protocol declaration for 'UIPopoverControllerDelegate'
2)expected specifier-qualifier-list before 'UIPopoverController

but application is running fine on both device iphone and ipad.
problem come when i want to run my application on iphone simulator i.e. using sdk lower than 3.2.

i have done weak linking of uikit framework to run my application on device.


any help will be appreciated.
__________________
You can mail me at sanketsawant1@gmail.com
smsawant is offline   Reply With Quote
Old 07-06-2010, 12:58 AM   #2 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 43
ashishjraval is on a distinguished road
Default

Quote:
Originally Posted by smsawant View Post
i am using UIPopoverController in my universal application,
when i compile application on using sdk lower than 3.2 it is giving me some error.following are that errors when i compile,

1)cannot find protocol declaration for 'UIPopoverControllerDelegate'
2)expected specifier-qualifier-list before 'UIPopoverController

but application is running fine on both device iphone and ipad.
problem come when i want to run my application on iphone simulator i.e. using sdk lower than 3.2.

i have done weak linking of uikit framework to run my application on device.


any help will be appreciated.
Hi, Sanket

Namaskar sir,

this UIPopoverController is used in xcode 4.0 ipad so... i don't think so..
But here I want to use this UIPopoverController in UIsegment control so can i use this sir..? if yes then giving some code ya reference sir..

from
Ashish Raval
ashishjraval is offline   Reply With Quote
Old 07-06-2010, 03:10 AM   #3 (permalink)
Registered Member
 
Join Date: May 2010
Posts: 100
mobin_shaikh is on a distinguished road
Default

while launching universal app on any specific device, no need to change target OS 3.2

open plist file,n In build tab,

target OS 3.2
change deployment target to iOS 3.0
and targeted device family iPhone/iPad

n run on both the device without changing any settings

i think this ll helping u...
mobin_shaikh is offline   Reply With Quote
Old 07-09-2010, 05:24 AM   #4 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 43
ashishjraval is on a distinguished road
Default

Quote:
Originally Posted by smsawant View Post
i am using UIPopoverController in my universal application,
when i compile application on using sdk lower than 3.2 it is giving me some error.following are that errors when i compile,

1)cannot find protocol declaration for 'UIPopoverControllerDelegate'
2)expected specifier-qualifier-list before 'UIPopoverController

but application is running fine on both device iphone and ipad.
problem come when i want to run my application on iphone simulator i.e. using sdk lower than 3.2.

i have done weak linking of uikit framework to run my application on device.


any help will be appreciated.
Hi Sanket,

Namskar Sir,

I get it segment control in UIPopoverController..

But on the click of segment i do email

-For the segment control i create one class and that class i call at UIPopoverController

-Now when i click on image i see one UIPopoverController with segment control which is call from one other class as i say tht in above phase.

-When click on segment control do the Email...click on tht call another class from this segment control class I call it also but can not get any data which i want...

Note: I'm already alloc that class as well as Init it also

From
Ashish Raval
ashishjraval is offline   Reply With Quote
Old 07-15-2010, 06:17 AM   #5 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 43
ashishjraval is on a distinguished road
Default

Quote:
Originally Posted by ashishjraval View Post
Hi Sanket,

Namskar Sir,

I get it segment control in UIPopoverController..

But on the click of segment i do email

-For the segment control i create one class and that class i call at UIPopoverController

-Now when i click on image i see one UIPopoverController with segment control which is call from one other class as i say tht in above phase.

-When click on segment control do the Email...click on tht call another class from this segment control class I call it also but can not get any data which i want...

Note: I'm already alloc that class as well as Init it also

From
Ashish Raval
Hi,,Sanket

I got All Solutions which I want Thx...

from
Ashish Raval
ashishjraval is offline   Reply With Quote
Old 07-21-2010, 06:44 AM   #6 (permalink)
Registered Member
 
Join Date: Apr 2009
Posts: 82
smsawant is on a distinguished road
Default

Quote:
Originally Posted by mobin_shaikh View Post
while launching universal app on any specific device, no need to change target OS 3.2

open plist file,n In build tab,

target OS 3.2
change deployment target to iOS 3.0
and targeted device family iPhone/iPad

n run on both the device without changing any settings

i think this ll helping u...
thanks for your reply,its working fine on devices both ipad/iphone.
but when i try to run it on simulator of iphone its giving me errors.
__________________
You can mail me at sanketsawant1@gmail.com
smsawant 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: 376
10 members and 366 guests
.Snipe, AragornSG, baja_yu, ChrisYates, davejas69, guusleijsten, hussain1982, Kryckter, locombiano89, stanny
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,646
Threads: 94,111
Posts: 402,862
Top Poster: BrianSlick (7,990)
Welcome to our newest member, locombiano89
Powered by vBadvanced CMPS v3.1.0

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