iphone

how to fit radius in mapview

i have a MKMapview with 1000 meter radius circle. how to fit that circle exact in the MKmapView rect? How to adjust the span level for fitting the circle inside the MKmapview? ...

How to add UITableView to UIAlertView?

Hello All: I create a class: @interface myUITableViewController : UIViewController { NSArray *listData; } ... and later,I do so: UIAlertView *alert = [[UIAlertView alloc] initWithTitle:nil message:nil delegate:self cancelButtonTitle:nil otherButtonTitles:nil]; myUITableViewController *myUITable = [[myUIT...

How to make a connect 4 iphone game?

I want to take the next step and make a game, I had Connect4/4 in a Row in mind. How would I go about with this, I made a pong game from a tutorial and now I want to make something on my own. This type of game doesn't seem that hard to make or perhaps it is? Anyone got any good advice or some sample code or instructions? Thanks for a...

Licensing Situation iPhone/iPod Touch Alarm Sounds

Hi, i would like to use the iPhone Alarm Sounds in my iPhone Application. I know i cant access them programmatically, but i found a site on the internet where i can download them. My question is now, will Apple, through the Approval Process, allow me, to use these sounds in my application? I couldn't find any information regarding the ...

retrieve data from sever

i am trying to making retrieve data from sever side to ipod ,in objective-c i try but i am not success in retrieve data from sever to ipod i retrieve image from sever to my ipod i get success but when i try to retrieve song i am fail to retrieve to song from sever to ipod can any one help me or give me some solution or hint how to re...

MFMailComposeViewController does not send mail

Hi there, I am trying to send mail using MFMailComposeViewController. Everything works, except that mails do not get sent, and I always get MFMailComposeResultFailed. Any pointers? I am NOT using the simulator, and sending mail does work from my device. I do have a connection (testing via Reachability), and [MFMailComposeViewController...

How to add label and textfiled to each row in the UITableview.

Hi, How to add label and textfiled to each row in the UITableview. can i add it through the Interface builder or have to do in the code, Thanks, Sam. ...

UIView event handling confusion

Hi, I'm trying to intercept touch events from a MKMapView. From various discussions around the internet I gathered that it is impossible to get the touch events received by MKMapView directly. So, I created a UIView subclass EventHandlingView that intercepts touch events. So, in my view controller, I first add the MKMapView instance as ...

iphone : facebook application responce error message

hi all, I am trying to integrate facebook in my iphone application. after logged in from my iphone I am getting response message as "application responce error" can any one help out , why I am getting such an error??? thanks in advance... ...

how to solve nsusredefaults problem

hi i am new to iphone .what i am doing is display 20 images as grid in image.m and display selected image in imageview with image name in imageviewcontoller.h.for displaying lable i am using NSUserDefaults to store tag value of image.what the problem is it displays is previous image name eg: for image 2 displays image 1 name ,for image 3...

how to register for distribution in iphone

Hi all, i m new in iphone and i have problem for distribution of application. actually i have one p.c. which support 3.0 to 3.1.2 version which is register for distribution. but another p.c. which i upgrade to 4.0 then how i register for distribute from upgraded p.c. i have distribution certificate of lower version. ...

Uploading Image to the server asynchronously (iphone)

How can I Upload an Image Asynchronously to the server in iphone...please help me in this regard....? ...

can i have mic detection value in decibel range 0.0 to 120.0

Now I m using the class AVAudioPlayer . But still i m not getting right value in decibel. there is any way to get the value in decibel range 0.0 to 120.0 (not in -0.0 to -120). if yes then plz tell me some body.... ...

Objective-C category method available to subclasses?

Hello again. I have the following category: @interface UIViewController (Additions) - (void)exampleMethod; @end ----- #import "UIViewController+Additions.h" @implementation UIViewController (Additions) - (void)exampleMethod { NSLog(@"Example."); } @end I also have the following abstract class: @interface DFAbstractViewCont...

How to make UIViewController re-load the view?

My view controller is set to load the view from Nib file. At some point in viewDidAppear I may change the self.view and the view may disappear, next time viewDidAppear I may decide to load original view from the nib, how would I do that? ...

Possible to make a transparent gradient mask?

Hi, i have different images in a uiscrollview and i want to know if it´s possible to create an mask-overlay from from 100% - 50% - 0% transparency, so i get smooth fades when the images are moving out. ...

plist data to a second view

I have a plist (dictionary type) populating text views and labels on one view. I would like to have an info UIButton on this first view that links to a separate view and displays some data from the same plist. it has to be data from the same record in the plist though. I have everything working, but I'm stuck at being able to pass that...

timer issue at displaying view

hi i am new to iphone. what i am doign is displaying 20 images as grid and by selecting image it is displayed on imageview after 4 sec it will come back to main screen,for that i am using timer it works fine but there is a small problem with out selecting image the timer is continually running.if i am selecting button on 2 sec late then ...

NSLog on the iPhone device

Hey, I wanted to test my app on the device, but I dont want now to buy apple licence for 99$. I read some tutorials on the Internet and installed my app, but I cant debug it. Xcode says that "Error launching remote program: faileds to get the task for process 731" App works fine, but I cant debug it. Maybe break points arent the most...

How to change image of a button?

Hi all im getting a EXC_BAD_ACCESS error on this line. [(CCMenuItemSprite*)[profileSelectionMenu getChildByTag:333] setNormalImage:normalSprite3]; Basically im just trying to change the normal image of a CCMenuItemSprite. normalSprite3 and selectedSprte3 are both CCSprite. and i set the properties off them to retain but it still alway...