iphone

NSDate Convert milliseconds to NSDate.

Hi Guys I have this "1273636800000" I want this "Wed Mar 03 2010 00:00:00 GMT-0500 (EST)" I need to convert this milliseconds to NSDate format. I tried this NSDate *tr = [NSDate dateWithTimeIntervalSince1970:1273636800000]; and NSDate *tr = [NSDate dateWithTimeIntervalSinceReferenceDate:1273636800000]; and NSDate *tr = [NSDate ...

How do I access a method in the root view controller from a different class?

I apologize if this is an easy one. I have my root view controller NB_ViewController. I have another class named ShowScreen. How can ShowScreen access a method in NB_ViewController? Thank you so much in advance. ...

MPMoviePlayerController with MPMovieControlModeHidden

Hi, I am trying to hide the controls on a MPMoviePlayerController. Using: moviePlayer.movieControlMode = MPMovieControlModeHidden; Works fine on my 3GS and in the simulator, however on a 3G (running 3.1.3) it refuses to hide. Any Suggestions? Thanks, John ...

How to use TTTThumbViewController and UITabBarController

Hi, I will be really fast, in my app I've a UITabBarController, in one tab I've implemented a TTThumbViewController but when it appears my tabbar disappears and I lose the primary navigation in my app. What is the right way to implement it? Thanks ...

Core Data store corruption

A handful of customers for my iPhone app are experiencing Core Data store corruption (I assume so, since the error is "Failed to save to data store: Operation could not be completed. (Cocoa error 259.)") Has anyone else experienced this kind of store corruption? I am worried since I aim to soon push an update which performs a schema mig...

Is it possible to force ignore the :hover pseudoclass for iPhone/iPad users?

I have some css menus on my site that expand with :hover (without js) This works in a semi-broken way on iDevices, for example a tap will activate the :hover rule and expand the menu, but then tapping elsewhere doesn't remove the :hover. Also if there is a link inside the element that is :hover'ed, you have to tap twice to activate the ...

Weird ViewControllers - iPhone SDK

Hello everyone, I have a Tab-Bar Application for this iPhone application I am making. I make a simple button on the 3rd view (3rd tab), and give it an IBAction to give an alert view. When I press build and go, everything works out fine. I go onto the 3rd tab, and I press my button. It simply crashes... Why is this happening? Everything ...

How to ask UIImageView if MultipleTouchEnabled is "YES"

I have created a few UIImageViews programmatically, but I have a feeling that even though I setMultipleTouchEnabled to YES during the setup, it is not getting set properly and it's leading to multi-touch issues. My question is, within touchesBegan how do I go about asking the UIImageView that was touched if it has MultipleTouchEnabled o...

UITextView Scrolling - Artificial Limit

I have a UITextView with a height of let's say 300. What I would like is when the typed text gets to the half way point, for the scrolling to start as if it were at the bottom of the textView. Basically I would like to programmatically set the point within the textView for scrolling to begin. Any ideas? Thanks. ...

having a test debug app and a released debug app side by side

When I download my app from the iStore, the latest test version installed to my phone gets over written. Does anyone know how to have two versions of the same app side by side? On a test project, I edited the build settings so that "realease" and "debug" have different product names. This seemed to solve my problem, however when I try t...

jQuery i++ and i-- problems ... what on earth???

Could someone please tell me what I am doing wrong? I'm not a newbie at programming but I feel like it tonight! Every time I increment the incrementing variable it throws a fit! When add one to it, it behaves fine, but if I try to add one more to it it wants to add 2 more. And then if I try to de-increment it wants to subtract from the o...

AVAudioPlayer crash after playing from an AVAudioRecorder

I've got a button the user tap to start recording and tap again to stop. When it stop I want the recorded voice 'echo' back so the user can hear what was recorded. This works fine the first time. If I hit the button for the third time, it starts a new recording and when I hit stop it crashes with EXC_BAD_ACCESS. - (IBAction) readToMeTap...

Mobile development recommendation

I want to start develop mobile applications and sell it. There are many mobile platforms for which I can begin develop: Windows Mobile , Android, Iphone, Linux based Devices. I want to find out from people who has such experience which platform more comfortable and more profitible for me to use. ...

NSString length restriction

Do we have any NSString length restriction when creating an object of NSURL class? ...

WPF and IPAD\IPHONE

Can WPF Browser application run on IPAD\IPHONE? ...

Iphone developer account :- dont have distribution option.

One friend's iphone developer account have only developer tab in iphone portal program, no distribution tab exists. can he still submit app to app store? if yes how? What to be done for distribution option? ...

How does an Android/iPhone device implement text-zooming?

Simple question - how is text-zooming implemented on an Android/iPhone device? Do they pre-compute frequently used bitmaps of a font and replace the text as the scale changes? Or do they extract the contours from the font files and render the text as vector graphics? ...

Function in xcode

I have a function which have two global variable 1.temp-a nsmutable array 2.j-a int type variable. But i cant access any global variable inside this function. I'm giving the code sample. void print( NSArray *array) { NSEnumerator *enumerator = [array objectEnumerator]; id obj; while ( nil!=(obj = [enumerator nextObject]) ...

iPhone: Ovi maps

hi all, I want to use Ovi map in my iPhone application. I searched for Ovi map on google but presently it is not open.Basically I want to know following things OVi map service is from Nokia. So can i use Ovi Map in my iPhone application. If answer of 1 point is Yes, then where I found support info(code sample/classes/framework) for iP...

Getting favorites from phone addressbook in iPhone

Hi all, In my application i have to access to access my iPhone Address book and i have to get only favorites from my contacts. How can i do this? please help me. Thanks in advance. ...