iphone

How do you do a foursquare style uitableview refresh?

If you haven't seen their implementation Of the refresh of a tableview it is extremely slick. I was surprised to see no search results asking for this to be explained so I figured ask it myself. If you haven't seen it, it basically adds a subviews to the uitableview above the header to the blank part of the screen when you pull a uitabl...

How to display controllers with proper aligning in iPhone screen ?

I have a issue of displaying information in iPhone screen. Case is as follows. I crated a view-based application in Xcode name as myView. Then open myViewViewController.xib interface builder, change back groung color and added label at top-let (0, 0) of the view. Then I add new file named as myView2ViewController, which is subclass ...

How to setup MGTwitterEngine

Just downloaded from github ... tried to build the xcode project and got over a hundred errors. TouchJSON, OAuthConsumer and yajl folders don't even exist (which looks like the problem). Did I pooch something? What do I need to do to recover? Thanks ...

setting enablesReturnKeyAutomatically on UISearchBar

Hi There, I'm writing for iphone OS 3.1.3. I want the search button in the keyboard from my UISearchBar to have the search button enabled all the time. If this was any old UITextField (not a search bar) the property would be enablesReturnKeyAutomatically. I have tried setting this using the example given at http://discussions.apple.c...

How do I convert a NSString into TIS-620 encoded string

In the apple document, I can see that there's a way to convert from UTF8 string to ASCII string like this NSData *asciiData = [theString dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:YES]; NSString *asciiString = [[NSString alloc] initWithData:asciiData encoding:NSASCIIStringEncoding]; But my app requires a TIS-620 stri...

How to localize bundle display name in iPhone app?

How can I localize bundle display name of an iPhone app? The name displayed in iPhone main screen under app icon. I wish a single binary bundle package which will be displayed multilingually. ...

Developing for iPhone or Android? (As a C# developer)

I'd like to start developing for iPhone or Android in my spare time, as a chance to learn something new but also hoping make some extra income. I'm not sure which is the best development for me to start developing on. I own an iPhone, but I don't have a Mac (which I would need to use the SDK), plus with the iPhone I believe there's an ...

problem FFmpeg avcodec_register_all iphone

Hi, I need to use ffmpeg for encodig. I have all *.a. My problem is tha when I use avcodec_register_all() xcode give me this error: "_deflate", referenced from: _encode_frame in libavcodec.a(pngenc.o) _encode_frame in libavcodec.a(pngenc.o) _encode_frame in libavcodec.a(pngenc.o) _encode_frame in libavcodec.a(lclenc.o) ...

I want change the 'return' key of iphone virtual key to a another name.

Hi, I want change the 'return' key of iphone virtual key to a another name such as 'Go'. Help me please. ...

How to reduce UIImage size to a maximum as possible

I am using following code to resize the image. Resize a UIImage Right Way And I use interpolation quality as kCGInterpolationLow. And then I use UIImageJPEGRepresentation(image,0.0) to get the NSData of that image. Still its a little bit high in size around 100kb. when I send it over the network. Can I reduce it further. If I am to r...

Problem in playing m4v movie clip in iPad....

Hi All, I am trying to play a m4v movie clip in my application just after splash screen but it shows a odd behavior,sometimes it works fine but sometimes it starts and stuck in beginning only the audio of clip plays continuously. If this introductory movie clip play successfully than all other movie clips works fine but if it stuck the...

iPhone Gps logging inaccurate

I'm logging gps points during a walk. Below it shows the function that the coordinates are saved each 5 seconds. i Did several tests but i cannot get the right accuracy i want. (When testing the sky is clear also tests in google maps shows me that the gps signal is good). here is the code: -(void)viewDidAppear:(BOOL)animated{ if ...

Localizing an already developed application using google translater.

Hi all, "How to localize a project i.e., already developed in some language by using Google translater". please tell me i have n't any idea on that. ...

UIWebView scroller object type

Hello, I need to access the scroller object of an UIWebView, so I do something like this : id obj = [[webView subviews] objectAtIndex:0]; The problem is that the object returns is not the same in SDK 3 and SDK 4. In 4, it returns an UIScrollView object. In 3, it returns me an UIScroller object, the problem is that this class isn't do...

iPhone SDK: how to switch from a login screen to a navigation interface?

I am beginning in iPhone development and have followed a few tutorials, but please indicate me if I'm going in the wrong direction. I have implemented my own UInViewController and a login screen view (with its xib). What I would like to do is that after clicking on the login button, it displays the RootViewController.xib, which includ...

Should we required to check iPhone is jailbraked

Hello All... Some of our application is already in AppStore... But suddenly one thing comes into my mind, that I want to clear before submitting my next application. The thing is : As a programmer's point of view, should we require to handle if iPhone Device is jailbreaked ? If yes, then how we can tackle with this ? Thanks in advanc...

problem with array

Getting error in this line , NSString *nmm =[narr objectAtIndex:1]; error shows: 'NSRangeException', reason: '* -[NSCFArray objectAtIndex:]: index (1) beyond bounds (1)' ...

iphone poll application to sync with myspace or facebook poll.

Hi, We are developing an iphone application, which requires us to add polling(survey) functionality in the app. We also have same poll in either MySpace or Facebook. We have to sync the polling data to our iphone application. How can we achieve this? We have found some third party polling service provider like Zoomerang, Poll Daddy p...

UITableViewController and viewForHeaderInSection problems

Hello, So I need your help please! I've created a UITableViewController: ContactDetailViewController. In IB in the nib file, I've added a view ahead of the table view and hooked it up to headerView - a UIView declared in the .h file. I've also created a view: CustomerHeaderView However when I run the code below, Its throwing an exceptio...

iphone api sip rtp srtp zrtp

hi,I would like to ask if there are , or there is one of this Api:sip rtp srtp zrtp for iphone , if there is a way for to use them in the iphone simulator , and what is the default gataway in iphone . ...