Hi everybody, I'm working in another iPhone App that uses AR, and I'm creating my own framework, but I'm having trouble trying to get the angle of a second coordinate relative to the current device position, anyone know a good resource that could help me with this?
Thanks in advance!
...
I have a TabBar with 4 tabs, 2 of the tabs are the same class, and come from the same nib, and will only made different by the parameter they are passed.
However I can not work out how to do this parameter passing, since the init'ing and switching of these views are done automatically by the tabbar controller.
I can think of a few ways...
Can i get last modify date of ABPerson in iOS's Address book?
...
I'm writing an iphone app and don't really have the resources to rent sql server space to store user's pictures.
Is there another way? Could a site like TinyPic.com be used?
What objective-c code could I use to send/store a picture there... and then later retrieve it as needed?
...
Blarg!
I'm trying to develop a game with zelda-like qualities. (i.e. When the PC hits the edge of the screen, the screen changes to the next view, and the PC's position restarts at the appropriate edge.)
The problem I'm having is that I don't want to have multiple View Controllers for each level-segment, because all of the data/functio...
I am using the Audio Unit services to set up an output rendering callback so I can mix together synthesized audio. The code I have seems to work perfectly on the devices I have (iPod Touch, iPhone 3G, and iPad) but fails to work on the simulator.
On the simulator, the AudioUnitInitialise function fails and returns a value of -10851 (kA...
Does ABPerson in iOS have kABModificationDateProperty? Thanks for your help :)
...
When you select text message from a contact in the contact's app you get a list of phone numbers and email addresses with the 'type' also in the button, however the 'type' is styled differently. Is there a way to get this effect with UIActionSheet buttons or would I have to roll my own?
...
Hi guys,
I've some memory issues with CLLocation.
CLLocation *annotation = [[CLLocation alloc] initWithLatitude:[[tempDict objectForKey:@"lat"] doubleValue] longitude:[[tempDict objectForKey:@"lon"]doubleValue]];
CLLocation *item2 = [[CLLocation alloc] initWithLatitude:[newLatString doubleValue] longitude:[newLongString doubleValue]];
...
I am having an issue where I add a transport control bar to a UIView to provide control for an audio player, and the buttons don't show up all the time. If I tap them (or rather, tap where they should be), they suddenly appear. To complicate matters, most of the time they show up fine...this is kind of sporadic.
Could this be a memo...
Hi there,
How do I "like" a page using the new Facebook iOS SDK? (http://github.com/facebook/facebook-ios-sdk)
I'm currently attempting to do it with:
NSMutableDictionary *dict = [[NSMutableDictionary alloc] initWithObjectsAndKeys:[_facebook accessToken],@"access_token",nil];
[_facebook requestWithGraphPath:@"cocacola/likes" andParams...
I am using UIActionSheet to display 3 action buttons in a popover when a table row is selected.
In .h of my tableViewController, I have declared the following:
UIActionSheet *actionSheet;
In .m of my tableViewController, I have the following code
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)index...
I haven't done any work with the Android or iOS platforms, but I have recently been pitched a project and I'm trying to see if it is even feasible.
Is there currently API hooks in the iOS and Android platforms for accessing / manipulating the voice / data streams? What I would like to do is encrypt all outgoing steams and decrypt all i...
I initiated an async http call to the server in a viewcontroller, but it take long time sometimes.
Can I put a button on it and then abort the running http call when user clicked that button ? and if that could be done, I'd like also implement this function when user exit current view like, navigate back to its parent view.
...
Hi All,
I have a scroll view which has some controls like textField and textArea on it. I want to detect the touches event on scroll view so that I can use resignfirstresponder on my textfields.
I have also tried subclassing UIScrollview, but the approach didnt work for me. Can anyone please help me in detecting touches event on scrol...
This issue really has me stumped...
I have an iPad project that I use UIPanGestureRecognizer and I am using the following method call within my handlePanGesture:
- (AIEnemyUnit *) hitTestForEnemyUnit:(CGPoint)where {
CALayer * layer = [self hitTest:where];
while (layer) {
if ([layer isKindOfClass:[AIEnemyUnit class]]...
$variable =1;
How i can do it?
I need insert variable 1 2 3 4 5 ...
in @"Event" or @'Event'
...
Hi there,
Quick question! I am trying to customise the topbar of an iphone application (not a website) and I have been told that it is impossible? I have attached an example of what I am trying to achieve. At the very least is it possible to change the background colour to orange?
Any advice on this would be great!
Thanks in advance! ...
Hi,
What i m doing is encoding the image with to Base64ForData and then uploading to server, the time of downloading decoding back.
I m getting "libpng error: No IDATs written into file " this error when trying to get NSData from UIImage.
NSData *d = UIImagePNGRepresentation(Record.photoimage);
Record.photoimage is UIImage.
But the...
So, I've got a class with contains a NSMutableArray of CLLocation's, and a name.
Now I want to save them to KML, ideally as a track (or , so I can use the file to display the locations traveled.)
How would I go about this?
I don't expect code, more guidance (I'm new to Objective-C and KML, so got a lot to learn! :) )
...