iphone

How secure is a security salt in an iPhone app?

I want to prevent users tampering with the the data generated in my iPhone app, such as high scores. So I'm thinking of using an MD5 hash of the relevant data, and a security salt hard coded into the app. When the data is read back in, I create a new hash and compare it to the old hash. If there's a difference, I know someone has been fi...

Problem opening URL with browser Safari on iphone

I, if I try to open this URL: http://compraonline.mediaworld.it/webapp/wcs/stores/servlet/ProductDisplay?catalogId=20000&storeId=20000&productId=2135168&langId=-1&category%5Frn=60701663 with Safari for iPhone, the URL that is loaded is without final part &category_rn=60701663. Thanks to everyone for the help ...

APN Error in Server Script (php)

Hi All, I am getting this error in my php script , while sending payload data. Warning: stream_socket_client() [function.stream-socket-client]: Unable to set private key file `/Applications/XAMPP/xamppfiles/htdocs/test/apn/apns-dev.pem' in /Applications/XAMPP/xamppfiles/htdocs/test/apn/push.php on line 42 Warning: stream_socket_client...

iPhone create folder inside documents folder

Hello, i just want to create new folders in the documents folder of my iPhone app does anybody know how to do that ? appreciate your help! ...

Using GL_SHORT instead of GL_FLOAT in an OpenGL ES vertex array

I have this vertex array of a cube float vertex_coordinates [] = { -12.43796, -12.43796, 12.43796, -12.43796, 12.43796, 12.43796, 12.43796, 12.43796, 12.43796, 12.43796, 12.43796, 12.43796, 12.43796, -12.43796, 12.43796, -12.43796, -12.43796, 12.43796, 12.43796, -12.43796, -12.43796, 12.43796, 12.43796, -12.43796, -12.43796, 12.43796, ...

[iPhone] Formatting an NSDate

Hi, I am pulling data from an RSS Feed. One of the keys in the feed is is a string representing the date and time the item was created. I am trying to convert this string value to an NSDate. The string value is returned from the RSS feed as: 2009-11-18T22:08:00+00:00 I tried the following code to no avail: NSDateFormatter *df = [[...

how to keep the tabbar while going to a viewcontroller with flipping view transtion

the app has the structure of tabbarController -> navigationController -> viewController , when I go to another viewcontroller with the view transition like this vc.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal; UINavigationController* nvc = [[[UINavigationController alloc] initWithRootViewController:vc] autorelease]; [sel...

Switched to Snow Leopard: HTTP-Requests stopped working in simulator (WebApp)

Hi! I've created a web app in Mac OS 10.5 which receives data by sending http requests like this: var http = new XMLHttpRequest(); var url = "http://www.test1234.com/data.php?param1=" + param1 + "&param2=" + param2 + "&param3=" + param3; http.onreadystatechange= function() { var result= null; switch(http.readyState) { ...

Having UITableView edit button outside of the navigation bar.

Hello I have a UIViewController, and within that view i have UITableView added in IB The UITableView displays the items from my array beautifully I would like to be able to edit the items i.e delete them BUT The UITableView does not have a navigation bar, and i am not using a navigation controller within this app i am just adding ...

Can I hide or make my iphone Application unsearchable on the App Store?

I want my application to be unsearchable from the App Store. I would like that only those users who sign in to my web site and then click the link of my iPhone application on app store, can install and use my application. Is there any way to do that? ...

Credit card purchase of physical goods via an iPhone application

I'd like to add a means for users do make payments for physical goods using credit cards via an iPhone application. Are there any guidelines regarding such functionality in iPhone apps? I'm mostly thinking of Apple's opinions on this. Clearly, such data would have to be submitted securely but must this be done within Safari? If not, the...

iPhone Safari Web App: Seeking overview of iPhone-specific features

I am trying to get an overview of what kind of native iPhone features I can get access to when I write a Web App (using html/css/javascript, running in Safari). Meaning: I like to know whether I can get access to features specific to "smartphones" in general and iPhone/iTouch in particular (accelerometer, address book, photo library, th...

customizing a cell in table.

hi, I want to have an image on left side of the cell. A text also in same cell. I should have a number of cells in a table. Where should i store the images ? And how should I place in the table ? Thank You. ...

How can I programatically determine that my iPhone app has been interrupted by a phone call?

Is there a delegate that goes along with this like AppInteruptedByPhoneCall? ...

"Masking" an animation? iPhone SDK

I have been looking into ways of masking images on the iPhone. I came across this solution http://iphonedevelopertips.com/cocoa/how-to-mask-an-image.html which works great for still images. What I want to do is mask an animation in a UIImageView. From what I have read I don't think this is possible whilst also achieving a decent frame...

Parsing multiple and multi-level nested elements with TouchXML

Hi, I have an XML with the following structure and I am trying to create my model object from this. Can someone please help me find a way to get these objects from the XML using TouchXML, NSMutableArray and NSMutableDictionay. <?xml version="1.0" encoding="utf-8"?> <response> <level1_items> <level1_item> <item_1>text</item_...

Mapkit UserLocation found event

Is there an event that gets fired when a users location is successfully found in the iPhone mapkit? I want to call a web service at the time the current location pin is dropped onto the map. ...

UIWebView is not loading a page.

I got a UITabBarController and one of the bar items is a Navigation Controller with some buttons on it. One of the buttons opens up a urlRequest and load it in a UIWebView. NSURL * url = [NSURL URLWithString:myUrl]; NSURLRequest * urlRequest = [NSURLRequest requestWithURL:url]; UIWebView * web = [tView wView]; [web setScalesPageToFit:YE...

How can I use goto in a switch statement in Objective-C?

In my code I need to be able to jump (goto) a different case within the same switch statement. Is there a way to do this? My code is something like this: (There is a lot of code I just left it all out) switch (viewNumber) { case 500: // [...] break; case 501: // [...] break; . . . . . case 510: // [...] break...

Restart Springboard without locking screen?

Is there any way to restart the Springboard, but prevent the iPhone from turning on its screen lock following this? Have tried switching off the screen lock in Settings, but it'll still kick in after a Springboard restart. (The phone is jailbroken.) ...