iphone

Child XIB open over Main XIB.

Hello, i want to open new xib(view) over the Main xib(view). i.e Main (Parent) xib when i click on button inside parent XIB. child xib open over parent xiB, and it should see parent xib. is this possible? ...

iphone app crashing when url connection connection timed out is coming

I'm creating iphone app. In that, when the app starts, it connects to server and downloads few images and then proceeds with app. When app is downloading, it will show the initial splash screen. as long as my server is able to ping my iphone, its working well. but the trouble starts when my server is taking much time to respond for the N...

Send device token with HTTP POST

Hi, we need to send an http post from an iphone device to our server with some info which the device token (APNS) which we want to store. How on the server do you read the HTTP post and store what is in it? We just have a standard ISP hosted server which currently just has a website. Thanks ...

what else text editors can be used to editor Objective-C code except xcode.

I am new to mac, my question is what else text editors can be used to edit Objective-C code except xcode. And which one is the best for productively editing source code? ...

UINaviagtionBar not displaying?

Hi, I developing an application in which initially choose UINavigationController based application. In rooViewController xib i added two more UIView, the code is written as follows. @implementation RootViewController @synthesize introductionView, WheelView; (void)viewDidLoad { [super viewDidLoad]; [self.navigationController setNaviga...

iphone encode problem with ffmpeg

Hi, I need to encode a video from image. I use ffmpeg and compiling rigth. My problem is that when i try to opne video with quicktime on iphone, this give me a message "this movie format is not supported". I create a file mp4 with this parameter on context: context->time_base.num = 1; context->time_base.den = 15; context->codec_type = C...

No method found compiler warning

I have create a class from a string, check it is valid and then check if it responds to a particular method. If it does then I call the method. It all works fine, except I get an annoying compiler warning: "warning: no '-setCurrentID:' method found". Am I doing something wrong here? Is there anyway to tell the compiler all is ok and ...

Accessing the music files in iPhone

I need to build a system which backup and restore system in which all the phone datas including audio, video, pictures. From iPhone 4.0 , there is support for accessing the videos and photos from the library . Is there any way to access the music files. I need to convert those music files into binary format . Is there any way to accomp...

retrive my posted data from facebook

hello all i am able to connect to facebook through api key from my native iphone application i can also send my post to the facebook through my application but i want to retrive that same post into my application please guide me how could i do that thanks in advance ...

Mini Scrollbar with thumbnails on iphone

Hello. I was wondering, what would be the best way, to implement an 'extra' scrollbar, showing thumbnail versions of the pages, you are currently viewing. In my case, I would like to have maybe around 20 images, which I would animate with Cover Flow Layers and while I 'scroll' up an down to view them, a scrollbar appears at the side, s...

how to know the direction of rotation of UIImage in iPhone

hello, i want to rotate the uiimage in the direction turned, i'm able to get the angle between touchesBegan and TouchesEnd points but how should i decide whether to rotate cockwise or anti-clockwise? Plz help ...

Where to start when developing an app for a website

Hey! I am planning on developing an iPhone App for a website, powered by Wordpress. Where can/should I start codewise when developing an app for such sites? Should I use Wordpress' API, or should I access the (MySQL) database directly? I am very open for ideas. Thank you. ...

Fbconnect its not refreshing any views

Hello, I am getting a strange behavior with FbConnect UIView "SessionViewController" can anyone please help me to sort it out? Any help, i am tryig to figure out since 4 days why it not working. Here is my Scenario : I am loading the SessionViewController from a UInavigation Controller. If i do a login SessionViewController it works f...

using a button to navigate to different view in navigation based application??

i created a navigation based project but instead of tableview i added a new view with a button to navigate to the other view.. my button code is as shown below but whenever i run it the application doesn't run?? is the code wrong or navigation based application only work with tableview?? -(IBAction)clickMe:(id)sender chdDetails *detail...

When is Facebook Connect supposed to call its delegate methods?

Hi The Facebook connect code is eluding me a bit. I have no problem doing a login, and a wall post, however, I simply can not figure out how the delegate methods for the FBDialog andFBStreamDialog is supposed to work. - (void)postToWall { FBStreamDialog *dialog = [[[FBStreamDialog alloc] init] autorelease]; dialog.delegate = s...

Accessing MySQL database from iphone

Hi i am trying to connect my iphone aap directly to the MySQL database. I did a lot of reading, and i found that by using MCPkit we can access the database. Now i also found that the mcpkit is not supported in iphone, while it runs in simulater. Can somebody tell me whats the deal with this. I know the other alternative is web services, ...

MKReverseGeocoder delegate location?

I have a quick question regarding memory management that I am not quite sure about. I currently have a locationManager delegate that calls locationManager:didUpdateToLocation:fromLocation where it resolves the device location. My question is I am looking at adding ReverseGeoCoding after I have obtained the [newLocation coordinate] but am...

How to solve the leaks when allocating the NSMutableArray in Objective-C

Hi Guys, I am getting leaks in Master view controller of iPhone. When I call this method, I am inserting them into filteredListCount array, because when I search I need to show the list from filteredListCount array otherwise customerArray. This functionality is working fine but I am getting leaks in the method below at allocation: fil...

Sqlite3 update data problem

When i try to update a data after searching another the data is overwritten on the last searched data. i tried to release the previous data still same problem persists. how do i solve this? ...

Can a macro also generate a method name?

Is it generally valid that a macro is used to create a method name? I mean...actually it's just simple text replacement before the compiler actually runs, right? ...