iphone

Did someone port uw imap c-client to iPhone OS (device)?

I downloaded the source code, typed 'make oxp' then I got a file named 'c-client.a', I think it is for X86. But how can I build this library for iPhone OS (device)? ...

Does Multiple NSURLConnection make delay of performance?

Hi all~. I made a multi files downloader. I implemented NSURLConnection using NSOperationQueue. NSOpetationQueue has many NSURLConnection operations. and, set MaxConcurrentOperationCount to 10. I thought my code is right, But after run the project, it was wrong. there are some connection error has occured. files url were right. and f...

move UITableView items from left to right

Hello everyone I hope to move UITableView tiems fromn left to right and reload a new table array. I know it can done by navigationcontroller. But if there is a way without navigationcontroller. Thanks intterdev ...

iPhone:upload photo to MySpace

hi all, i want to upload photo from my iPhone app. to Myspace server. I read the API documentation of MySpace . There are a API to upload photo Upload Photo. but there are no API for get the userId so I can pass it to Photo upload API. Anybody have idea how can i get the UserId. Sorry for stupid question but I am unable to find the UserI...

Audio looping in Objective-C/iPhone

So, I'm finishing up an iPhone App. I have the following code in place to play the file: while(![player isPlaying]) { totalSoundDuration = soundDuration + 0.5; //Gives a half second break between sounds sleep(totalSoundDuration); //Don't play next sound until the previous sound has finished [player play]; //Play sound NSLog(@" ...

How to identify WHICH NSURLConnection did finish loading when there are multiple ones?

Multiple NSURLConnections being started (in a single UIViewController) to gather different kinds of data. When they return (-connectionDidFinishLoading) I wanna do stuff with the data, depending on the type of data that has arrived. But one prob, HOW DO I KNOW WHICH NSURLConnection returned? I need to know so I can take action specific t...

Multiple labels in a table cell view

hi all, i want to add 3 labels into a cell dynamically, cell is created dynamically as well. but i don't know how to create labels and add it into the cell in objective c (iphone). can anybody help me? ...

how to make NSUserDefaults show in Setting on iPhone?

according to this image, i try to save data in NSUserDefaults but my App not have application setting in menu Setting on iPhone? how can i make this? thanks. ...

How do I reset a tabcontoller with a drill down table view

Hi, I have a tabbar with one of the tabs containing a drilldown table. I am having problems once the user has finished using the drilldown table. If they change to another tab, then change back to the original tab, the original tab is still where I left it (at the bottom of the drill down showing the detail view) What I want is on mov...

UIImageView is clipping a pixel of the bottom of my UIImage...?

I'm not sure what might be causing this, but UIImageView occasionally clips off about a pixel or 2 from the bottom of some square/rectangular UIImages I'm using as subviews for UITableViewCells. These UIImageViews are well within the borders of the cell, so it shouldn't be due to cliptobounds. There seems to be no consistency or pattern ...

Creating notes on facebook through FBConnect in iPhone application

Hi All, I have tried FBConnect for iPhone and am able to create/manage sessions and upload pictures successfully. What I can't sort out is, how to create and edit notes. The Facebook documentation says that notes.create query takes three arguments:title, content and uid. It seems I am unable to form the right request for the required ...

Problem in calling a function from different class using protocols-iphone

I use cocos2d for my game. In which I play a movie and have a separate overlay view for controls.The touches are detected in the overlay view. Now when the touches are detected the function in the game code has to be invoked. But the function is not detected and there is no error. I dont know what has gone wrong. Someone please help me. ...

Remove Bagde from tabbar item.

Hello All, How to Remove Badge from the tabbar item i had use below code but not working for me. UITabBarItem *chatbadge=[appDelegate.tabBarController.tabBar.items objectAtIndex:2]; chatbadge.badgeValue=nil; Suggest any Solution. ...

is it necessary to set up all banking account info in the iphone dev account before submitting a paid app

Hi guys, I just wanted to know if its necessary to set up all the banking info before proceeding with submission of the actual paid app for the binary. Thanks and Regards, Harikant Jammi ...

Cannot hide a UIButton - Please help!

Hey again, I have the following code: visitSite.hidden = YES; For some reason, when I click a UIButton and call this piece of code, the visitSite button does not hide. The code is within this block: -(IBAction)welcomeButtonPressed:(id)sender { [UIButton beginAnimations:@"welcomeAnimation" context:NULL]; [UIButton setAnimationDu...

Iphone 3GS 3D performance after upgrade to OS 3.1.3

At my company we noticed a significantly worse performance of our game running on a 3GS with OS 3.0 compared to another with OS 3.1.3. To verify I upgraded the second 3GS to OS 3.1.3 as well and now it also runs slow. Did anyone experience anything similar? ...

Rotate a custom UITableViewCell

I have a custom UITableViewCell which contains several UIButtons. Each button's frame position is relative to the cell width. I set autoresizingMask=UIViewAutoresizingFlexibleWidth so it will adjust the cell width and the button positions properly when the application starts with the device either in landscape or portrait mode. The iss...

iPhone Options for reading item from XML?

I am accessing this data from a web server using NSURL, what I am trying to decide is should I read this as XML or should I just use NSScanner and rip out the [data] bit I need. I have looked around the web for examples of extracting fields from XML on the iPhone but it all seems a bit overkill for what I need. Can anyone make any sugges...

Avahi DNS Stack for iPhone?

Hello, I would like to know if we have an avahi api for iphone side? Alternatively, can we implement avahi protocol in iphone? The avahi API provides: avahi-core: an API for embedding a complete mDNS/DNS-SD stack into your software. This is intended for developers of embedded appliances only. We dissuade from using this ...

bonjour for iphone

Hello,I would like to know whether bonjour is a public or private api?Can we use it in our apps directly. ...