iphone

UIButton sender title problem

Hi all, seems like a quite easy problem but I don't get it. It have two UIButtons, one is titled 'next' the other is titled 'previous'. Both are linked to the same method. All I wanna do is change the variable 'helpStatus'depending on which button is pressed: if([sender currentTitle] == @"next"){ helpStatus++; } if...

files in ipad device?

is it possible to load other file like video,music into device directly through itune? ...

Show a UINavigationBar back button without pushing a view controller

In the iPad's Photos app, when you tap an album the stack of pictures expands to fill the screen - you're in the same view, it's just rearranged the grid a little. But at the top, a left-arrow-style Back button appears, as if pushViewController had been used - except it fades in neatly, rather than sliding in. When you tap that, it fades...

Warning about battery when using Core Location.

I see a lot of apps that use GPS in the iPhone have the following warning in the App Description: Warning: Continued use of GPS running in the background can dramatically decrease battery life. If an App uses the background processes (like startMonitoringSignificantLocationChanges or Region Monitoring) Apple suggested that the battery ...

Architecture sketch for iphone stock app

I am currently trying to build a (simplified) stock app (like the one built-in on the iphone). I setup a simple server with a REST-interface which my app can communicate with. However I am struggling to find the right/best way to build this kind of (streaming data consumer) client on the iphone. My best bet at the moment is to use a ti...

game engine for iPhone/Android

hi guys, is it possible to do cross platform game engine for iphone and android. if its how can i do this. what are all thinks i need to study to do this. thanks for your kind help! ...

Scrolling problems with UITextFields in cells in Objective-C for iPhone

Hi there! I have following problem: I've got an UITableView with 7 custom cells. Each of these cells hold a label and an UITextField in it. Since the cells are somewhat big, you have to scroll down to see the last 3 cells. The problem is, as soon as I scroll down, the text in the textfields of the first 3 cells (those, that aren't visibl...

iPhone: part of view gets pushed off screen

Hello, I've implemented two different transition techniques to try with my app, one button for each one. I use presentModalViewController:myView for the first button and CATransition on the second. The ModalView one works but my CATransition has a bug: it slides the entire view a little off screen, as shown in pictures, with a white fr...

iphone - What's the logic of UIViewController? will – viewDidDisappear: be called automatically every time it disappear?

Hello. I don't get the delegate logic of UIViewController. It has delegate method of – viewWillAppear: – viewDidAppear: – viewWillDisappear: – viewDidDisappear: So, every time, if a view of a viewcontroller appear or disappear, the according above methods inside the viewcontroller will be called? I have two viewcontrollers. viewcon...

Network Reachability error: in iphone os 4

my project was buied in os 3.0 but now i want to do some changes with os 4. so when i run my project in xcode 3.2.4. i get those errors...... ld: warning: in /Users/abc/SystemConfiguration.framework/SystemConfiguration, missing required architecture i386 in file ld: warning: in /Users/abc/libz.1.2.3.dylib, missing required architec...

Crashing with ASIHTTPRequest and NSOperationQueue when cancelling operations

Hi All. I'm having a really hard time when trying to cancel requests in an NSOperationQueue. Before deallocating my 'engine' object, I call a cancelOperations method to cancel everything in the queue, so this will include in flight ASIHTTPRequests and queued ones... e.g. Engine.m -(void)getContent { if (![self queue]) { [...

How to calculate Cross-Track error (GPS/Core Location)

Does anyone know how to determine determine the "Cross-Track Error"? For those who are unfamiliar: You are driving along a line from Point "A" to point "B". When in transit, when you veer off that line, the distance from your current position to the line is the cross-track error. I have a simple algorithm now which works, using basic ...

fetching geo data and timestamp from an image on iPhone sdk

Hi, Is there any way to tell the geo lat,long of an image taken in the camera on iphone, using the iphone sdk? Is there any way to get the timestamp? ...

Reduce light of screen

Is it possible to reduce light(brightness) of screen from code ? ...

Let the iPhone talk to a Windows Service

Hi, I was wondering how I can let my iPhone talk to a windows service, so for example when I press a button on the iPhone, a messagebox is shown on the windows machine. Hope somebody has some good tutorials or sample code that will get me going... Thanks in advance! ...

how to zoom in view when user taps the view

i want to zoom in the view if the user holds finger on the image displaying on the view... as like we are now seeing the zooming in the mail composer when we hold the finger on the screen it gets zooming .... i want to do it this way...i hav a thumbnail images on the view and when user taps and holds on this it should zoom in normall...

Is there any iOS implementation of the Bayeux protocol (COMET, server push to client)?

Is there any library with implementation of the Bayeux protocol, for use in iOS (iPhone/iPad) development, for the building Server push technology iPhone client? And what are your suggestion for doing this? ...

What about the long term aspects of iphone development Both at Career-Biz Level?

Hii People, i m new to iphone development and started my career after campus out and started learning on my own its around 2 weeks now i m pretty inspired with iphone dev but i m not clear with *does apple will retain its biz on iphone/ipad develp-on a long term basis? *what are the key points that make iphone to stand for years?...

iPhone count finger taps and time between taps

I'm pretty new to iPhone programming, so I'm looking for any pointers (no pun intended), links, search terms, etc. on how to make a very simple app that counts how many times one finger touches the screen and how long between each tap. Thanks for any help, I know this resembles a lame question seeing as how I have really accomplished an...

Open view in another tab - iphone

Hi, I want to allow the user to click on a button in "tab A" and have it move to "tab B". Is this possible? Thanks, William ...