iphone gps distance b/w two points
i want to know that how to find the distance between from current location to another plz help me ...
i want to know that how to find the distance between from current location to another plz help me ...
Hello everyone I hope to know how to add an icon to an UIActionSheet button? I checked some document but no result. Welcome any comment Thanks interdev ...
I have integrated PlainOauth from the source http://github.com/jaanus/PlainOAuth in my application. It is not working for me. it is giving the message Status posted. HTTP result code: 401 When posting the posts to the twitter. Do any one have faced this problem before. can any one suggest me how to resolve this? ...
When I run my app with simulator every thing is ok.also when i run it on device (ipod touch 3G) for the first time,i have no problem but if i close my app and run it again,it hangs(no button working & just i can uninstall it) and if i try to minimize it ios seems out of action(every thing is being black) how can i solve this problem ? ...
Hi Ive searched everywhere and havnt managed to find an answer to this question so I thought Id ask it here. Im currently using the AVCaptureVideoDataOutput to and CaptureOutput to get frames from the camera in real time at 30fps. I have left the default settings of autoexposure and auto focus etc. I want to be able to query the camera...
Hi All, I am trying to launch a movie from within a subview of a toolbar view. The movie plays but the problem is that toolbar floats on top of the movie. I believe the MPMoviePlayerViewController is supposed to take care of this for us because it opens as a modal view. But I am not sure why this is case for me... Any help to this ...
Hi, I am trying to make 2 switches, one that will add a section with 3 rows and one that will add a row in a existing section. if (alertSwitch.on == YES) { alert = YES; [myTable beginUpdates]; [myTable insertSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationFade]; [myTable endUpdates]; [myTable...
Hey, Because the the UISwitch is not so easy to customize i decide i wanna build one alone. that works pretty good except for one thing. i was subclassing UIView when i was building it and now i dont have the "ValueChanged" control that i need for the Interface builder. can some1 tell me how can i add ControlEvents to my custom control ...
i have an table view and + symbol is on the every cell of table view ,i should able to see disappearing + symbol by animating whenever i selected the cell ...
The title is a bit confusing...I'll explain I have an NSMutableArray I am populating with NSMutableDictionary objects. What I am trying to do is before the dictionary object is added to the array, I need to check whether any of the dictionaries contain a value equal to an id that is already set. Example: Step 1: A button is clicked se...
Hey Guys, Can you please explain me how to add a tab bar controller to the UIViewController..I think I have problem doing this..please help me..this is what I did so far..I added tab bar controller from IB and created a IBOutlet and made connections from file's owner to the Tab bar controller I added..when I run the app it displays a wh...
I have a UIView that I am loading and it has a navigation bar with a 'Done' barButton. When I leave the navigation bar the default color, everything is fine. When I make it have a black tint, the 'Done' button works fine but it does not have the pressing animation that buttons usually have. It doesn't look as thought the button is bei...
I need to make a snapshot or a screenshot - call it as you like- of the current view and then display it in the modal view. Because if I just write this in the ModalView's View controller MyAppViewController *viewController = [[MyAppViewController alloc] init]; self.view = viewController.view; All the methods of the MyAppViewControl...
Suppose I have a list of numbers, ie. (240, 320, 640, 920) and I want to select one of these four numbers at random. Can I do this with random or arc4random? ...
Is this ok? NSDate *myDate; Because I used something like this before: NSDate *myDate = [[NSDate alloc] init]; if (something) myDate = thisDate; else myDate = thatDate; [myFunction initWithDate:myDate]; I always got "Value stored to 'myDate' during its initialization is never read". If I do something like this if (some...
I've been playing with libmms and iPhone for a bit, and I have managed to connect and read from the mms stream, but after this I'm at a loss of how to send the data from mmsx_read into the AudioQueue, I assume it will have to be using the AudioQueueNewOutput method from Audio Queue Services... I've spent quite a bit of time searching but...
There are a lot of nice little functions in System.IO.Path like replacing a file extension, append to a path, getting a filename, getting a directory from a path in C#. Is there an iOS equivalent or somewhat close API? thanks! ...
I am Triggering a call from my App,But I want to trigger a call by enabling loudspeaker programmatically.... ...
I realize that what counts as premature optimization has a subjective component, but this is an empirical or best-practices question. When programming for iOS, should I prefer using struct and typedefs where the object has no "behavior" (methods, basically)? My feeling is that the struct syntax is a bit strange for a non-C person, but t...
I am playing around with UIAlertView and am trying to simply display an NSLog message if the user clicks on the cancel button. I just can't figure out why absolutely nothing is happening. Here's the code that I have in place: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexpath { NSUInteger ro...