iphone

How can set the background view of a UITableViewCell to the selected background when it is not selected?

I created a custom implementation of a multi-selectable table view. Multiple rows can be selected programatically. The only part I haven't been able to figure out is how to programatically set the background view of cell to the default system cell selected color/pattern. Does anyone know how to do this? Thanks! ...

Removing Divider Line from UISplitViewController

Guys, I know a similar question exists but the thread seems to be inactive, and I really would like this question to be answered. It's been annoying me for a few days now. I'm wondering how to remove the divider line between the Master and Detail view in the UISplitViewController. I know its possible to remove/hide/cover it up because I...

iPhone: Types of persistent store

Hi, I would like to know which type of persistent store would be most appropriate in what situations, like how can I decide where to use core data, property list or archives for my iPhone application. Thanks ...

Setting up Google Toolbox For Mac for XCode 3.2 iPad project?

I'm attempting to get google-toolbox-for-mac working with my existing XCode 3.2 iPad project, but am unable to. I'd appreciate suggestions on what I am doing wrong. I followed the basic project setup found here: http://code.google.com/p/google-toolbox-for-mac/wiki/iPhoneUnitTesting When I try to build my project I get 5 pages of consol...

Getting started in Mac Development; No Mac.... What Do?!

Possible Duplicate: How can I develop for iPhone using a Windows development machine? Hi folks, With all the RDF et al around King Jobs' newest glass beermat, I'm getting the feeling that its a good time to add the 'iphone/ipad developer' string to my bow. One problem (two if you count not being in a financial position to s...

CFSocketConnectToAddress and unrecognized selector sent to instance

Hello, I am somewhat new to iPhone dev and I have been getting unrecognized selector when I call CFSocketConnectToAddress in this code. I think it might be something basic that I am doing wrong. Any idea? this is the complete error I get. NSInvalidArgumentException unrecognized selector sent to instance 0x3922170 0x3922170 is the ca...

iPhone UIScrollView ContentSize has extra height when rotating/converting to landscape

Hello all, Doing some iPhone dev, have the app working quite well. However, I have a UIScrollView with autoresizing content and contentSize which works quite well, except when I rotate to the landscape view it always has an extra 100 or so pixels on the scroll height. I don' want users to be able to scroll so far past the content. Has ...

UITableView in popover doesn't stop scrolling

I have a UITableView being shown in a popover. One cell in my table view has a UITextField in it. When the text field is being edited (the keyboard is visible) and I rotate the device from portrait to landscape and then try to scroll the table view, it keeps going past its bounds, instead of stopping and "bouncing". Does anyone know how...

NSTimer to smooth out playback position

I have an audio player and I want to show the current time of the the playback. I'm using a custom play class. The app downloads the mp3 to a file then plays from the file when 5% has been downloaded. I have a progress view update as the file plays and update a label on each call to the progress view. However, this is jerky... someti...

Is there any physics engine SDK for iPhone/iPod touch and iPad?

Is there any physics engine SDK for iPhone/iPod touch and iPad? ...

How to make a button look like this? (the iPhone's Timer App)

To me, this looks like a UITableViewCell, but with rounded corners. I also want the behavior of my "button" to do behave the same way as in the timer App. How do I do it? EDIT: By "button" I mean the one that says "When Timer Ends". again, to me it looks like a TableViewCell. Thanks for the speedy responses guys. ...

Location of the object after scrolling in UIScrollView

Hi, I have a scrollView (width:320px height:100px) on my UIView, inside it I add 10 images with width:106.5px each. After that I use this function to have 3 different parts inside my scrollView, so everytime I scroll, an image will automatically be center. -(void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL...

iPhone expired dev certs - public/private key pair issue

My dev 'license' expired last week, and with it my dev certs. I re-upped my license, but my keys are still expired. I tried to create a new signing certificate via keychain, etc. but it seems my private key is not enough, it needs my public key to do so. I understand that the public key is stored in the provisioning certificate. The ...

Is there a way to see if the iPhone device has "Keyboard Clicks" on or off?

Can my app get the current status of the Keyboard Click setting? Or even better is there a way to turn off Keyboard Clicks while my app is running? ...

Accelerometer Values from Android/iPhone device

I'm trying to map my movements with a android device into an OpenGL scene. I've recorded accelerometer values for a simples movement: Moving the phone (lies flat on a table) 10cm forward (+x), and then 10cm backward (-x). The problem is that this values when used to calculate velocity and position, makes only the opengl cube go forward...

UITextView on iPad INCREDIBLY Slow

I have an NSMutableArray of custom views (that are pretty much 1 UITextView and 1 UILabel with a custom back ground image), these are created as they are need (I start with 2 (though the first one is only 2 UITextFields and the other is normal) of these). Now my issue here seems to be this: as soon as I try to edit any UITextView past t...

Learning using layers and CoreAnimation for iphone

Except for the official docs, what is a good resource for learning how to use CALayers and Core Animation efficiently/correctly? ...

Problem with price in iPhone Application App Store.

Hello, I am facing one strange problem about application "Medical iRehab" on App Store. First we uploaded our application as a free application and after 20 days, we changed to paid application but now i could see royalty price in itunes connect. Then we upload new update to the application and we did not change the price too. But now...

Memory Leaks when touching UITableViewCells and poping off view.

Hi All, I'm currently having a problem where the leaks tool is reporting a slew of memory leaks after clicking on cells within a UITableView and then hitting the back button and popping off the view. Majority of the leaks reported can not be traced back to any specific location in my code, they are: Leaked Object # Address Size Respon...

Multiple TTPickerTextField in TTMessageController

Hi Everyone: Is there some way to use multiple instances of TTPickerTextField in one TTMessageController? I am currently only using the default "To" field with a .datasource, but I am unsure of how to add the others to the main controller. Thanks for any help. ...