iphone

Display speed on the video while capturing in iphone

Hi All, I want to do something as follows. When user is capturing the video from his iPhone 3G, 3GS and iphone4, he should be able to show some data on the screen which will be captured on the video it self, so when we will see the video again, he will be able to see the video along with data on screen. Like for example we can say I ...

Why is leftCalloutAccessoryView(image) of my MKAnnotation having its bottom cut in certain annotations?

I have subclassed my MKAnnotation and its working perfectly in all otherways - showing title, subtitle, pop-up and leftCalloutAccessoryView image also. Only problem is that when i take some of the annotations, ie, when they gives the popup showing all the details, the image that i have used in the leftCalloutAccessoryView is getting slig...

learning objective-c is better for understanding computer architecture

than higher level languages such as Java C#... is this argument valid? I'm new to iPhone development and some people have told me this. ...

Detect Any touch Event across Application in iphone

My objective is to detect any touch event inside My Application on any view... (i.e Inside my application any touch event in anywhere should be detected...) I have tried it by subclassing my appDelegate Class with UIApplication but it is giving me error http://stackoverflow.com/questions/3101345/how-to-detect-idle-user-in-iphone-sdk h...

loading and transitioning external images into UIwebview??

through parsing i have got two image links in an array which i want to display into my WebView each one after an interval of 5 seconds..as i am loading webview in my ViewDidLoad method i cannot determine where to use NSTimer scheduledTimerWithTimeInterval:.1 target:self selector:@selector(moveACar) userInfo:nil repeats:YES] and where ...

Calculate distance between two place using latitude-longitude in gmap for iPhone

How to Calculate distance between two place using latitude-longitude in gmap for iPhone? ...

iPhone in-App purchase to send greeting cards?

I am creating an iPhone app to design an Electronic Greeting Card. I offer to send real post cards to the recipients if the iPhone user purchases an e-Stamp using in-App purchases of the App. I hear that Apple does not allow physical good. Will my app be able to use iTunes in-App payments system since I am selling only e-Stamps within ...

How to get music files of iphone using itunes sdk?

i'm researching to get music files in iphone. i think i can get it using itunes sdk into PC based on windows, but i don't find a solution in sdk's document. i can get playlists and music file's locations using sdk. is it possible to get music and video files in iphone using itunes sdk? ...

How to insert my UItextfield value to mysql web server in iphone application ?

Hello friends, I m new in iphone development. friends i need to know how to send my UItextfield text value in mysql webserver? friends i reads many article related this topic but i could not get any proper information> Friends some article is talking about php script all that , please send me proper code my friends please other wise...

Create object connection in iphone and xml

Hello, I need help with this. I developing an iphone app and I need to connect to the server from diferents views. So I was thinking like in java or C, I mean, A possible solution is to create a class and embed the connections for the app. I write an example: int ObjServer.ValidateUser(user:string,passwd:string) NSMutableArray ObjServ...

how to call a method in UISearchBar

hi all i want that when user input in search box then this text is store in global variable and a method is called which in another class ,how should i do this..... any idea please Thanks..... ...

Using standard icons in iPhone SDK

What approach are you fellow iPhone developers out there using for standard icons in e.g. tab bars (one that is not provided here, of course)? For example, if I wanted to use one of the icons from the iPod app. I can see three approaches: Use the "magic image constant" for the image. I believe this qualifies as using private API -> no...

Make custom class of NSObject serializable

Hi I want a custom class based on NSObject to be serializable. I have read this (http://stackoverflow.com/questions/2182115/make-a-custom-class-serializable-in-objective-c-iphone) but want to ask some additional Qs. 1) Does NSObject implement NSCoder? 2) I also want to ask if I can serialize an array of some objects of this custom cl...

creating a custom control in iphone.

Hello everybody. I have made a custom control in my application. It is like a combo box. when a button is clicked a table view will appear. user selects a row from that table and the value will be displayed on either textfield or on the button's lable. Now i wanted to know, if it is okay if i make a custom control like this in iphone. Or...

how can i connect to multiple peers using GKPeerPickerController object

i have used GKPeerPickerController to connect to iPhoes via bluetooth.Now when my application launches,i am able to search the iPhones nearby but when i select any one of them,it starts connecting to that iPhone.Now when they are connected,I have dismissed picker.My problem is that how will i connect to rest of iPhones.how can i make pic...

ViewController and drawRect

Hello, I have a UIViewController and I would like it to call drawRect so i can draw on the view but nothing happens. #import <UIKit/UIKit.h> @interface ViewController : UIViewController { ...code... } @end and the implementation #import "ViewController.h" @implementation ViewController -(void) drawRect:(CGRect) rect { draw a po...

Custom UITabBarController - using a UIToolBar with UISegmentedcontrol as Tab Bar?

Hey. My customer wants a design-change, but I just can't figure out how to do this! The app currently have a UITabBarController shifting between some UINavigationController's. My customer wants to use a UIToolBar with a UISegmentedControl shifting between the controllers instead. I want to keep the UITabBarController, because that tak...

Pause recording callback for AudioQueue

Hi, I have a basic doubt about AudioQueues, I am using AudioQueue to record and am basically following the SpeakHere app. I found out that whenever I pause recording using the api: AudioQueuePause on AudioQueue object, the recording is not paused immediately. Is there a callback in AudioQueues which intimates the delegate that audio rec...

Populate UILabel text without linking an IBOutlet

I want to fill several UILabels, on different UIViews created with IB, with the same text. Now I'm doing it connecting each label with an IBOutlet and filling the text programmatically with a constant string defined on a constants file. What I want is to avoid the connection with an IBOutlet so I can link the desired string token in IB...

"Leaks" Instrument Not Working after XCode Update

I recently updated to the newest Xcode (3.2.3 w/ 4.0 SDK) and whenever I run ANY project using the Leaks instrument to analyze it, I get the error "Failure while acquiring malloc pointers (LeakAgent32)". This happens with any and all iPhone 4.0 applications and iPad 3.2 applications. I'm including an image with the error message displaye...