iphone

How do I identify a user when working with iPhone StoreKit

How do I identify the user that is doing a purchase with the StoreKit in the iPhone. I'm planing to build a suite of iPhone apps that will sell content which will be provided from a external server. The StoreKit documentation describes how to send transaction information to an external server and how to verify the transaction from tha...

Tababar application in iphone

hi i am making an tabbar application in which i have 4 tabbars. tabbars are working perfectly, my problem is that the title is overlapping over other tab bar. Title are a bit long like Instructional Videos. how can i fix it. ...

Custom UITableViewCell with round rect

I have created custom tableViewCell.My table is of grouped style.My custom tableViewCell is having background color.Problem is cells will come round rect but there is still some white color view backside of my cell.So how to create custom cell with round rect so that ican set background color and add multiline text. I tried creating ba...

Cocoa Touch - UISearchBar Keyboard - Hide 'Search' Button

Hi all, On my iPhone app I'm using a UISearchBar (without a Search Display Controller). I have my own 'Search' button as a UIButton and therefore on the keyboard that pops up when editing begins on a UISearchBar I would like to constantly hide the 'Search' button on it as it is unusable. How could I go about doing this without the Searc...

How to use Shake API in iPhone SDK 3.0?

Apple annonced Shake API in iPhone SDK 3.0. I can not find any information regarding this new feature. Who knows about how to use it? Any example, link will be good. ...

RetainCount question using nested UIViews in iPhone app

I've made a test iPhone app to try and understand why I may be leaking memory in some other projects. I'm also a newbie when it comes to Obj-C/iPhone. Basically the view controller creates 5 randomly colored boxes which are themselves sub-classed UIViews. double-Clicking on any of these boxes fires off a notification to the view contro...

CLLocationDistance NaN

Hi, I'm trying to calculate a distance between two sets of coordinate points in an iPhone application on the fly using - (CLLocationDistance)getDistanceFrom:(const CLLocation *)location I saw that I started getting NaN's in strange places, thus investigated the matter up close, with the following hardcoded values. CLLocationDistanc...

iPhone Development - UITableViewCellStyleValue2

Hi all, Note: I'm using iPhone SDK 3.0 Final Version for Leopard. I need to prepare a table listing similar to the one used by iPhone's Photo Album application. There are two new styles for UITableViewCell: UITableViewCellStyleValue1 UITableViewCellStyleValue2 I thought i can use these instead of creating a custom cell class...

Stereo Widening Effect on iPhone

Hi All, I wanted to know if there are any player /recorder applications available using Stereo Widening ? Or are there any plug-ins available for effects like stereo widening, which I can directly use with my player ? ...

iPhone: Looking for an API to store survey results

In my iPhone app I am trying to gather feedback on my game via an optional survey. I would like to send this data to a central server, where I could gather all the statistics and process them to have a bar chart or other convenient presentation. The data being sent an integer representing the user's preference. ie) Given "How did you li...

problems in (NSTimer release or invalidate)

hai i want to know the difference between invalidate and release of timer.... what is the best way to deallocate it? ...

Using the Twitter API within iPhone application

Hello I want to integrate Twitter API into my iphone application. I have read about JSON framework with iPhone SDK 2.2. But I am new to this type of application. Can anybody please explain how to integrate this Twitter's APIs with my application and how to use it. Also tell me how to open "svn checkout http://json-framework.googlecode.co...

what is the first step in (NSTimer release and invalidate) ?

can i send argment with @selector in NSTIMER? if i want to release NSTimer , is the follwing steps right in dealloc? [timer invalidate]; [timer release]; ...

Checkbox image toggle in UITableViewCell

I need some guidance on creating a UITableViewCell that has an image on the left which can be toggled. The image should be tappable and act as a toggle (checkbox). My parts I'm struggling with are: How do I detect taps on the image and handle those differently to didSelectRowAtIndexPath? How do I change the image without performing a...

WebView not scrolling content

WebView not scrolling content that has height greater than the size of the WebView Frame. This problem is not coming when I build the project using the iPhone OS 2.2.1 Simulator but when i try the Same thing with The iPhone OS 3.0 simulator Content remains static... ...

OpenGL iPhone Sprite Sheet

I have a sprite sheet of images of differnet width and height, which i have the coordinates to. I need to render only a specific sprite and is wondering how to go about doing it. Can anyone help me? ...

Turn autolock off from an application

Users want autolock turned off while using my navigation utility. Is it possible to control autolock from an application in iPhone SDK 3.0? ...

AutoCompletion on UISearchBar

Hi All, I am developing applcation with UISearchBar & TableView. On UISearchBar's text enter event I am reading char. & for entered text I am geeting results from database. But problem is that it is kind of blocking call. so I have wait till result gets back but again I pressess next char. I have to query from database. For each chars e...

Reload model for UITableViewController before [tableview reloadData]

This is my first try into iPhone development and I have some UITableViewControllers which will show the data returned from a webservice. In my AppDelegate I have setup a timer which is called every few seconds and reloads the model. I keep the same object reference and just refresh it's contents, so I have the same object on any UITable...

Just how to you use TTStyledTextLabel?

All I want is to display some simple text in my viewController and have the hyperlinks autoparsed. When the user clicks on the link I want the control to somehow do a callback where I can do something with the URL. How can I achieve this? I've already looked through the TTCatalog for hours. I have also tried looking into the source cod...