iphone

Data storage from JavaScript

Hi all, I need to store some values from JavaScript function and access those values from Objective C . Is that possible? Please give me a solution Thanks in advance..... ...

How would you arrange an XML file for an Event/Item which occurs on a range of multiple Dates?

For instance, I have a movie/item. It opens on Jan 1 2010 and finishes on Jan 10 2010. Do I create an entry for each date that the movie/item occurs, repeating all the data for each date? or do I create two nodes within the movie/item specifying a start date and end date and create an argument to provide all the data as needed? I want t...

Unit Testing iPhone - Linker Errors

I've followed the Unit Testing Applications guide from the iPhone Development documentation. I followed all the steps and it worked with the TestCase from the documentation. But as soon as I changed the TestCase to test real Code from my project I ended up with linker errors. All classes that are used in the TestCase are reported as miss...

Symbolicating iPhone App Crash Reports

Hey guys, I'm looking to try and symbolicate my iPhone app's crash reports. I retrieved the crash reports from iTunes Connect. I have the application binary that I submitted to the App Store and I have the dSYM file that was generated as part of the build. I have all of these files together inside a single directory that is indexed by...

Detect 2 fingers on screen on mapView MapKit

Hi, I try to detect the event on a mapview. I just need to detect zoom (double tap or 2 fingers on screen). I try to add a UIview layer that detect event, but if I add a layer, I lose the control on the map (http://stackoverflow.com/questions/1049889/how-to-intercept-touches-events-on-a-mkmapview-or-uiwebview-objects/1403063#1403063) T...

gles 2.0 perfomance on iphone simulator, iphone, macbook pro

I did an wave animation to explore features of sgx chip which is tile-based rendering (TBR) architecture by comparing the performance on iphone and laptop. An advantage of TBR architecture is it allows the GPU to perform hidden surface removal before fragments are processed, so I draw many overlaped layers of animated waves, and only th...

Which mobile platform to use creation of a musicians support application - recording and playback?

I'm a programmer looking to play in the mobile world. The application I'd like to play with would support my musical hobbies. I suspect a mobile phone with a music player could easily be programmed to support a classical musicians practice sessions. Should be Easy: Play an A at 440 Hz (or 438,442) for tuning. Should be easy: Metronom...

Correct time to call viewDidAppear manually?

I have a UITableViewController in my app, which is added to the view hierarchy directly. After the view appears, I want to scroll to a specific cell. My solution would be to call the code for scrolling in -[viewDidAppear]. According to Apple's docs I have to call the method manually: If the view belonging to a view controller is add...

Using Three20 Navigator to webview

Hi, How would I make the TTNavigator sample code to make one of the tabs go straight to a web view or straight to a youtube video etc? Here is the current code http://pastie.org/626186 ...

UIImage Performance and Optimisation with UITableViews

Hi there, I'm using several images to style UITableViewCells and I want to make sure I'm doing things correctly, firstly to ensure good memory management, and secondly to make sure things are as fast as possible (I'm having troubles with the sluggyness of the scrolling!). I know that using [UIImage imageNamed:] will cache the images fo...

Iphone screen lock/off and then no sound

My app is playing music, when the screen get lock/off, SOMETIMES there will be no sound. Why? Tnx ...

Why does -[NSObject retainCount] sometimes return unexpected values?

Within tableView:cellForRowAtIndexPath: // Make a cell: UITableViewCell *cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:@"Default"] autorelease]; // Make a spinner: UIActivityIndicatorView *spin = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]; // [spin r...

iPhone answering machine

Is it possible to create an iPhone application to answer incoming voice calls and play audio files back to the caller? If yes, before answering the call, is it possible to determine the caller id? Thanks! ...

How to parse xml using ASIHTTPRequest ?

I have implemented web services in .net.Now i want parse data and disply in uitabel view using ASIHTTPRequest. can you give me advice. ...

Web development for iPhone

Hi - I am developing a website for the iPhone. Need to get some specks on optimum page sizes and control sizes and best practices for iPhone Web Developement. I know that it runs a full size browser but I want to optomise the site for the iPhone screen. Thanks ...

Chaining animations and memory management

Hey Everyone, Got a question. I have a subclassed UIView that is acting as my background where I am scrolling the ground. The code is working really nice and according to the Instrumentation, I am not leaking nor is my created and still living Object allocation growing. I have discovered else where in my application that adding an an...

Any one know of an OpenGL ES example of an interactive globe/earth for the iPhone.

Along with Jamey - I too am looking for an OpenGL ES example that renders an interactive earth similar to the one in the Smule products. Any help will be great even if it is just part of the solution. ...

iPhone: sticky on-screen header or footer in webkit (HTML/css)

Is it possible to create a sticky header or footer such that no matter where you scroll the header/footer stays put? I'm looking for a HTML/css/javascript solution for iPhone/webkit. ...

My iphone app gets stuck!

After a login screen which sends the username/password to a webservice and gets back a response of either true(which is supposed to start the rest of the app) or false(incorrect username/password or unauthorized). The app gives the alert view that you are authenticated but it doesnt load the rest of the view? Can anyone please help me??...

dyld: Library not loaded: AVFoundation.framework Reason: image not found

How do I fix this? dyld: Library not loaded: /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation Referenced from: /Users/[...]/Library/Application Support/iPhone Simulator/User/Applications/[...]/TestGame.app/TestGame Reason: image not found ...