iphone

how to release presentModelViewController stack in iphone?

Hi, I m Copying my code here below :- -(IBAction)referencewindow:(id)sender { frmReferences *reference = [[frmReferences alloc]initWithNibName:@"frmReferences" bundle:nil]; [self presentModalViewController:reference animated:YES]; } There are number of places I m using presentModelViewController and my problem is that stack s...

Which method should use to release an object?

I found that the iphone have viewDidUnload, and dealloc. I want to release the object. Which method should I use to release the object? What's the different between them? ...

Can I get console logs from my iPhone app testers?

I am testing my iPhone app with some people who install it through iTunes together with the mobile provision file that I give them. Apple has good instructions for how to get crash logs from these people, but is it also possible to get console logs from their devices? I do not have physical access to these people, otherwise I could conne...

Class' property changes type without assignment

I am declaring a Skin class as a variable on my AppDelegate. I only ever assign to it there but later in the app its as if the pointer has been reused by some other code. I have various declarations but for some reason the item toolBarTint appears to be reassigned (randomly) a different Type when using the debugger at the point of usage...

How to disable assembly in XCode's debugger window?

For some reason my XCode debugger shows assembly code when debugging an iPhone app code. I'd like to see only Objective-C code, not assembly. This used to work ok but now someting has changed. How to get back to "normal" debugging? Is there a setting in XCode somewhere? /pom ...

Can you play a <video> inside the page with Safari iPhone?

I would like to play a video from inside the rendered page with an iPhone/Safari. When I put a <video>, it's always opened and played in a separate full-screen Quicktime window. Is there a way to play the video directly from the page? (a similar question http://stackoverflow.com/questions/751627/iphone-play-video-not-in-full-screen-mod...

Iphone page curl animation issue.

Hi, I am trying to do a page curl animation which works fine. My issue comes with the fact that I am only animating the subview which is an imageview and the imageview contains an image with a transparent background. When i run the animation, I can see the transparent background of the image being highlighed to black and that creates an ...

strange multiple files download - NSURLConnection

hi all, I encounter a problem by following your comment. I would like to download different file at same time with different delegate: .h: NSMutableData *fileData; .m: NSString *imgfile = [NSString stringWithFormat:@"http://xxxx/01.jpg"]; NSURL *fileURL1 = [NSURL URLWithString:imgfile]; NSString *audiofile = [NSString stringWithFo...

iPhone release Label text

I am trying to release the label text each time the person click on a book title from the table view, it should change the detailViewController label (titleLabel) however it keeps showing the same book title. Wondering If i have done something wrong - well I know I have but wondering how I fix it... // // BookDetailViewController.m #...

How to record speech in iphone ?

I am new to iphone development.I want to create a application that records the voice and i can play the audio file when required. Please guide me .Please give some sample tutorials so it would be easy for me to understand.Thanks. ...

IPhone Application Design Decision?

I am writing a simple application that follows the MVC design pattern. In the Xcode project I have three bits: AppDelegate ViewController DataModel The DataModel object holds all the data for the application and I want to make sure it is saved on app-exit and reloaded at app-startup. I am not sure if this is the correct approach, I ...

How to optimize the picker view in iPhone?

I want my picker view can display 1 - 200. but I think it is too much memory, if I assign an Array in this view: self.myLargeView = [[NSArray alloc] initWithObjects:@"1 unit", @"2 units", .... ..., @"199 units" @"200 units", nil]; //code skipped How can I reduce the memory load in application? any ideas? ...

NO GUI app launch a GUI app

I have a app what it don't has UI and run in the backgroud.Generally,a GUI app can launch another GUI app via [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"kmapp://com.km.kmapp"]] But,I note a backgroud app couldn't launch GUI app. How can I do? ...

Tesseract Example for Iphone

I have compiled tesseract for using it in xcode following: http://iphone.olipion.com/cross-compilation/tesseract-ocr I obtain the .a file, import it as framework in the iphone project, and update the header search path for tesseract header files. So now I need a simple example in order to get start. I can't find anything in http :// co...

How to download text file from web on iPhone?

Hi, I'm a young iphone dev who needs to download a .txt file from a web (I got a ftp sever) to update a small database on the device. Anyone could give me an advice of how to do this? Thanks. ...

Localization of strings in static lib

I have a project that uses a static library (SL). In that SL, there are a couple of strings I'd like to localize and the project includes all of the localization files. The localization works just fine when storing all text translations in the same file. The thing is that I'd like to separate the SL strings from the other strings. I have...

iPhone Client/Server Application without Mac Server

I am working on a client/server application and considering the iPhone platform for my next client. My only issue is that my server currently only runs on Windows. Will Apple even consider approving my app without having a Mac server available? Thanks! ...

Problem with iPhone shakes: viewDidAppear isn't called when loading viewController

I'm trying to detect a shake on the iPhone device, so for what i've read I need to set my view controller as first responder on the viewDidAppear method. This method is supposed to be called automatically, but for some reason this method is never called. Only viewDidLoad is called. this is my code (I put only the relevant parts): Build...

How can I implement the eBay Shopping API in my iPhone app?

I'm thinking of adding eBay Shopping search to my iPhone app. In other words, a list will appear on the screen in a UITableView with different items that match certain search terms. Is there any guide on how to use the eBay APIs in an iPhone app or at the least a guide on how to use an API that is similar to eBay's API that I can just ...

Help using SFHFKeychainUtils

I'm trying to use SHFHKeychainUtils in my project, but I keep getting the following error when I build: ".objc_class_name_SFHFKeychainUtils", referenced from: literal-pointer@_OBJC@_cls_refs@SFHFKeychainUtils in ResultsViewController.o ld: symbol(s) not found collect2: ld returned 1 exit status I added Security.framework via Target > G...