iphone

iphone simulator resources not updating

My iPhone simulator refuses to update the resources which I edit. After doing a "Clean" and build, the new resources were installed. On the second run it reinstalled the old ones. I have no idea where it's getting them from. Any suggestions? ...

How to use iPhone SDK Private APIs

I haven't found a comprehensive list of the steps that are required to use a private API from the iPhone Library. In particular, I would like to know how to get header files, if they are even required, how to get it to compile (when I simply add the header, it complains that the functions aren't defined), and what resources one can use ...

How do I switch between Navigation Controllers?

Situation: I have an Xcode project based on the "Navigation-Based-Application" template. So that means I have a SINGLE UINavigationController that manages a UIViewController. What I want To Do: What I want to do is add one more UINavigationController to my project -- and be able to switch back and forth between them. (I want to do this...

How do I call a method of the app delegate from a UIViewController?

Situation: I am using the "Navigation Based Application" project template. And my root view controller (UIViewController) needs to call a method of the app delegate. Question: How do I call a method of the app delegate from a UIViewController? ...

Setting UIActivityIndicatorView while view is prepared

Hi, I have a UITabbBarController with a UITableView. Under certain circumstances the TabBarControllers dataset requires updating when a user arrives from another view, e.g. the initial load when the TabBarController is called the first time, or when the settings are changed. This dataset update takes about 2 seconds and I want to show ...

Dynamically calculate application load time

Hi again, How can I run a clock that allows me to measure the time to load until appDidFinishLaunching ? I want to set a sleep call that extends the Defaul.png show time to 3 seconds regardless the speed of the underlying hardware. ...

NSNotificationCenter and ASIHTTPRequest

Hello everyone: I hope to get the http header info(file size) in asynchronous mode. So I initialize as codes: [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(processReadResponseHeaders:) name:@"readResponseHeaders" object:nil]; my codes to read the http header -(...

Project Active Executable can no longer be iPhone 3.2

I don't know how much you can help me because its under the NDA, but I recently updated to the OS 4 beta 3 xcode version. My project worked fine under 3.2 but under 4.0 parts are a not quite right I assume because it is still being developed. Every other installation of the beta sdk I could go into the project settings and select the i...

how to parse google search results on iphone

Hi satckoverflow, I am trying to implement a search tool on my iPhone, when i enter a text it will be send to the google for searching. and return the result. I need to know how the text is given to the Google search engine and how the google is returning the result? Is it in the XML format or JSON. I can then parse the result XML/JSO...

While connecting with LinkedIn from my native application i have got one message what it means?

I have used LinkedIn in my Native iphone application and i have got the message below:I don't know what it means:The masage is"You have successfully authorised [AppName].Please return to your application and enter following security code to grant access: 61592 " please help me what should i do? ...

Need help regarding internationalization of iPhone application

I have provided support for two languages, English and Chinese, in my iPhone application. I use string files for the languages using "key"-"value" pairs and my application displays the appropriate language using NSLocalizedString(@"Fund red not red?", @""). I get only Chinese text when I run the app in XCode. How can I switch to differ...

How to set editing is yes for a particular section in iPhone

I have declared UITableView in .h file. I have 5 section in the table view, now I need to set the tableview.editing= yes only for section 4. How can I display the + button beside section 4 and have all other sections in editing = NO? myTableView = [[UITableView alloc]initWithFrame:CGRectMake(0,0,320,415) style:UITableViewStyleGrouped];...

How to load a table view when coming to back with out selection index

Hellow all, I am using navigation controller and have table views inside views. when i select any cell it it will navigate to another view. so,from there if i click back button it come sto previous view.But,it showing the cell which is selected previously. I dnt want this .it should not show which cell we selected previously. Could any o...

How to release a "PopUp" view"?

I have this class that shows a popup. I do a alloc-init on it and it comes up. DarkVader* darkPopUp = [[DarkVader alloc] init:theButton helpMessage:[theButton.titleLabel.text intValue] isADay:NO offset:0]; It shows itself and if the user presses Ok it disappears. When do I release this? I could do a [self release] in the class when ...

iPhone web app - type=text inner shadow issue

Hi Guys, I am trying to disable top inner shadow in input=text field which is applied by default by iPhone. Any ideas how to do this? tried to overwrite -webkit-box-shadow with no success. cheers ...

The simplest way to draw points on iPhone ?

Hello, in my app I have 49 points with x,y and I wnat to display them on the screen. I've seen a lot of library that can help me (core plot, s7graphview, etc.). But since I'm doing very basic stuff (just draw points), what is the simplest way do to that ? Thanks ! ...

passing uiimageview as a parameter in NStimer selector??

i created a function onTimer passing it a uiimageview parameter...but when i call this function in a NStimer call as shown below i get a syntax error?? is there any other way around it?? [NSTimer scheduledTimerWithTimeInterval:0.05 target:self selector:@selector(onTimer:image) userInfo:nil repeats:YES]; ...

Core Data sync between iPhone and iPad

I have a universal iPhone/iPad application that uses Core Data as storage. I would like to enable users to sync their data between two devices(iPhone , iPod and iPad). Is there any sample application or code that performs this? ...

Iphone App Development on Eclipse IDE?

Is there any possible to develop the Iphone App using Eclipse IDE in Windows? Please note Windows platform has any possibility to the Iphone Development? Any Idea? EDIT: How about this Cygwin TOOL and this Blog ...

NSFileManager - Copying Files at Startup

Hi, I need to copy a few sample files from my app's resource folder and place them in my app's document folder. I came up with the attached code, it compiles fine but it doesn't work. All the directories I refer to do exist. I'm not quite sure what I am doing wrong, could someone point me in the right direction please? NSFileManager*ma...