iphone

How do I identify or know which control is being referenced in a method?

In my specific case, how do I identify or know which UITextField is being referenced in shouldChangeCharactersInRange method? I know the parameter (UITextField*)textField contains the object being referenced, but how do I compare to identify which one it is? ...

Implement VOIP in iphone and ipad.

Hi, Does anybody is aware of implementing VOIP feature in iphone and ipad. The Things for which i need clarity is, By using which third party library/protocol can i implement this feature? or is der any in built classed available in objective c which i can make use of?? Is there any Apple store accepted iphone application which uses ...

where should we send notification for updating many views?

Hi all, I want to ask about software design. I have a task, the view controller handles UI event for calling a model manger to perform that task. After finishing, the model manager will callback to update the view. There have also other view controllers who care about that task, and also want to update its own view when that task is fi...

custom Copy Responder in iphone

Hello ! I have a webview in my application. I want to handle when user copies something from web view, my custom method - should be triggered. I have tried following. I have placed following method in myViewCtr.m file -(void)copy:(id)sender{ NSLog(@"hi ! Hello "); } But nothing working - What should I do to implement the same ?...

OpenGL-ES slowdown in simulator 3.1.3

Hi ! Noticed strange thing. If I build & run my GL-ES app on simulator for 3.0 SDK -- frame rate around 30 fps. If I change to 3.1.3 version -- frame rate drops to 4-5 fps. What happens ? Thanks ...

what I do for show the accessorytype in custom(uilabel) uitableviewcell when cell contentcolor is black in iphone?

what I do for show the accessorytype in custom(uilabel) uitableviewcell when cell contentcolor property is set to be black i want to show whole cell's color is black but when i use cell.accessoryType =[UITableViewCellAccessoryDisclosureIndicator through this i can't reach my target. ...

iPhone UIAlertView in background process

Is it possible to create an alert in the background process? I've tried looking at mobile substrate and hooking functions to SpringBoard but I didn't find anything that works Thanks Reuben ...

Is Geo API limited to businesses in US only

Can someone help with the info whether GeoAPI is limited to locate businesses within US only? Looked around in their documentation but could not locate it. The limitation I found was for 20k query per key. But nothing related to businesses location limitation. OR Is there any other API that allows to locate businesses around the world?...

iphone - UIViewController header view errors

Hi there, So to give a little background: I've an app that has a UITableViewController- (ContactDetailViewController) In this view at the top, I require a few labels and buttons, followed by a group style tableview. So I've created a nib file containing these elements. (ContactHeaderView.xib) Then in the viewDidLoad of ContactDetailVie...

iPhone: Insert New Row at Row One of a Table View

I capture values from three text fields labeled to, from and message. When the user fills in these three text fields and hits a button, I need the values in these three textfield to be displayed in a new row 1 of a table view i.e. the new row should be the first row pushing the previously existing rows downward. How can I do this? Re...

iPhone: Getting the Touch Events of Built In "Copy", "Paste" and "Select All buttons"

hello all, I am a newbie in iPhone development. In my project there is one requirement that while editing text the iPhone's built in buttons Copy, Paste and Select all are available. I want the touch event on all these buttons and also want to display an action sheet title upon their respective touch events. ...

Display UIActivityIndicatorView while loading the application

Hi, I checked other questions and found none with my doubt. Is there a way to display an UIActivityIndicatorView "on top" of Default.png while my iPhone application is being loaded? Thanks in advance. Camilo @ lx-apps.com/ ...

iPhone: How to Extract a Numerical Value from a String?

Is it possible to extract a number from a string. For example, I have a string: my name is shishir and my number is 98890876478 Can I extract on 98890876478 from the above string? Or if my string is: my name is shishir and my number is XXX98890876478XXX In this condition can I extract `98890876478", which is in between of XXX. Is...

Add a background image to tables in a navigation view in a tabbed application

Hi people, I have a tabbed application which then has a navigation controller. In each the navigation controller I an a table View Controller which obviously contains a table. I push a new table view controller from this one. I want to put a background to the table but can only add an image infront of the table. I think this may be bec...

Capture iPhone camera using QuickTime

Can I capture audio and video signals from iPhone's camera and microphone in a web application using QuickTime ? If not, does exist any other method in which I can capture the video and audio from iPhone cam & mic. from a web app. and not an iPhone native app.? Thanks ...

Inconsistent Frame / Bounds of UIImage and UIScrollView

this one puzzles me. I have an Image with a width of 1600 pixels and height of 1819 pixels. I load the image as UIImageView into an UIScrollView and set the "contentsize parameter" iKarteScrollView.contentSize = CGSizeMake(iKarteImageView.bounds.size.width, iKarteImageView.bounds.size.height); NSLog(@"Frame - width %.6f, height %.6f - ...

how to add the element in the array using the for loop in objective-c?

is this the right way to do the same? nsmutablearray *myarray1 //have some data in it for (int i=0;i< [myarray1 count]; i++) { myArray2 = [NSMutableArray array]; [myArray2 addObject:i]; } and how can i print this value of myarray2. ...

Layers of Images using UIImageView

Hi everyone, I just wanted to confirm, is it possible that we add layers of images using UImageView, one as background and other on top of it. I mean i want to use 2 images one has to be in the background and the other on top of it. ( the size of both these images is 320 x 480 ). Through the attributes inspector we cant do it. Is the...

Can I use more than one ads api ( sdk ) in my application ?

Hi all, I am developing a game in which I have some game play screens, game info screens and game finish screens. I want to show the ads from admob on info/playing screen and from greystripe or mobclix before the results screen comes. I am curious for knowing, if it can be done (The app will not be rejected by apple ?) Thanks, Madh...

iPhone Face book sample code with oauth

Hi All, Is there any sample code for iphone to work with facebook using Oauth protocol. Thanks in advance Sathish ...