iphone

Transfering data using Sockets on the iPhone using SSL/TLS

Hi, I've been asked to prototype an application which share information with a server via sockets using SSL/TLS. I've been asked to make the application in both C#(MonoTouch) and ObjectiveC(Cocoa). I've been successful with the MonoTouch route, and developed a fully working client server pair, which can communicate and share data secur...

HTML named anchor not working more than once on iPhone.

The named anchor at the bottom of the page doesn't work more than once on an iPhone. Any suggestions? Thanks, Andy. <html> <head> <title>anchor scroll test</title> <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/> <meta http-equiv="content-type" CONTENT="text/html; charset=UTF-8"> <met...

change background color of a section header title (normal tableview)

hi, My app looks just like the default address book app on iphone. For each alphabet there is a section header in the address book( A, B . .) in gray gradient background color. Is it possible to override that default color to some other tint color ? ...

Anyone know of a good csv to NSArray parser for objective-c

I'm looking for an easy to use csv parser for objective-c to use on the iphone? I'm also looking for other parsers such as json so maybe there is a conversion library somewhere. ...

iPhone basic memory management

Is this proper memory management? What I'm wondering is if I am supposed to release after the alloc in -viewDidLoad. SomeViewController.h #import <UIKit/UIKit.h> @interface SomeViewController : UIViewController { UIButton *someButton; NSString *someString; } @property (nonatomic, retain) IBOutlet UIButton *someButton; @prope...

How can I use the facebook connect api for the iphone to to invite friends to an application or send a message.

In my iPhone application, I wanted to add the function of signing into Facebook and letting a friend know about the app. I know how to sign in and get the friends list, but I cannot find a good way of inviting a friend. So far, I haven't been able to come up with a way to invite a friend (I don't think one can with the iphone facebook sd...

How to add Terms and conditions view to my application so that it will be visible first time only...

In my applications i hav a terms and conditions view describing terms to use when user selects agree he will go to sign in page otherwise not ,it must be visible to user at first time when application launched in his mobile after that it has to start up with sign in view how can i do this ... any ideas appreciated.... ...

iPhone memory leak monitoring when not hooked up to a computer

I have an application that needs to be unplugged from the computer to use (it is interfacing with a device through the port) so I don't think using Instruments will work. Is there any way to monitor memory allocations/leaks without the iPhone being attached to the computer? Thanks. ...

UIPopoverController animates when keyboard pops up

Heey, In my iPad application I have a UIPopoverController with a UIViewController containing some textfields. When the keyboard comes up, the Popover gets animated to fit. Does anybody know how to disable this? Thanks ...

Can i use Base SDK 4.0 for iPad only app?

We are developing an iPad app for which I am trying to use sharekit http://getsharekit.com I am getting this error if I use the Base SDK 3.2 Cannot find protocol declaration for NSXMLParserDelegate But if I change Base SDK to 4.0 it works fine. I think its possible to use Base SDK 4.0 when creating Universal apps. Does anyone kno...

iPad SDK: Adding an overlay to MPMovie

I'm trying to add an overlay to a movie player and the overlay is not displaying. I tried following the example code from Apple which does have an overlay. My code is slightly different in that the player is not on the app delegate. All my video code is in a ViewController called VideoPlaybackViewController. I think part of my problem ...

Checking for empty text box

Hello, I have a button and when its clicked/tapped I want to check that a text box has a value. If no value is present I want an alert to pop up. The button loads a second ViewController which displays waypoints on a google map, if no option is in the text box the google maps ViewController will have problems loading the waypoints as it...

Only displaying managed objects depending on an attribute

This is probably very basic but I am struggling. I have an NSFetchedResultsController that gets managed objects from an entity I specify. The problem is I want to only display the managed objects that have a certain attribute in my table view. - (void)configureCell:(UITableViewCell *)cell atIndexPath:(NSIndexPath *)indexPath { NSManaged...

iPad: IBAction for UIButton responds on iPhone device, not on iPad

I have taken over the development and maintenance of a production iOS application being used mostly on the iPhone but also on the iPad. We found a specific UIButton that will respond as expected on the iPhone (device & simulator) but does not respond on the iPad (device & simulator). I am lost on where to start debugging this item. An...

How do I run my iPhone app on the iPad simulator

I recently updated to the new version of xcode. Big big mistake I have been have constant problems ever since. How do I run my iPhone app in the iPad simulator. The option to do so has disappeared! I used to have the option when building to run either on iPhone or iPad device or simulator. Now I can only choose simulator or device a...

Can I play an FLV on the iPad Simulator?

I am trying to create a simple app for the iPad that with play an FLV when you click a button. I am using the code from http://developer.apple.com/iphone/library/codinghowtos/AudioAndVideo/index.html#VIDEO-USE_THE_MEDIA_PLAYER_FRAMEWORK_FOR_VIDEO_PLAYBACK as a reference. Here is the code for my click event -(IBAction) btnPlayVideoClic...

Access iPhone disk from iphone SDK

Hi All, We have a scenario to access the iphone disk space like the following, 1 . user will put a file in the disk space and runs the app 2. The app will have to access the disk space and identify the file posted by the user. 3. i might pull the file into the app and parse and do the business logic. is it possible by any chance, i se...

need a specific JS framework to support all mobile os

Hi, I am going to transform my website to mobile phone supported. My website consists of lots of java script and ajax stuffs so looked for a specific JS framework to support all the mobile os (android,ios,windows and blackberry).I googled and found some frame works like phonegap, sencha touch,JQTouch and appcelerator titanium. Can you p...

connection between two iPhone applications .

Hi , is there any way to connect between 2 applications ? for example i create dictionary database for weDict application , and is it possible move the database from my app to weDict app folder ? ...

UIImagePickerController source (Camera) when dismissed inside a UITabBarController shows blank screen

Hi, I have the following hierarchy in my application: UINavigationController |__ UITabBarController |__ UINavigationController |__ ViewProfilePhotoController (*presentModalViewController:picker is done here) The problem I have is when I press cancel and dismiss my UIImagePickerController in the ...