iphone

Distribution Profile Xcode 3.2.4 how?

I am a little confused about where to get (or create) a distribution profile to submit my application to the iTunes Store. Previously I did this via the menu items from within the iPhone Developer Program > iTunes Connect, however now I can't see that option. Inside Xcode > Edit Project Settings > Code Signing > Any iOS Device I can sel...

iPhone, how do I determine when a child screen passes back to a UITableView and how do I update that row?

I asked a question the other day about how rows are added to a UITableView after the table is shown and I was told that the datasource should be updated and insertIndexPaths:withRowAnimation should be called. My UITable view contains rows of data, when the row is clicked another screen is shown which allows the user to edit the data, on...

MGTwitterEngine on the iPhone, xAuth and Error 401 sometimes

Hi, I've followed this guide to get MGTwitterEngine running on the iPhone with xAuth. I've requested permission from Twitter to use the xAuth functions and that has been granted. My problem is this, if i post a tweet to one account it works absolutely fine. If i post the same text to a different twitter account it fails and returns me ...

How to Print Request in Console in iPhone

Hi, i got stuck while implementing one webservice in iPhone, i think something is wrong in my Request. i have tried to implement webservice using NSURLConnection & ASIHTTPRequest but didn't get sucess.To solve the problem i want to print request as raw text which i am sending to webservice.Currently i am getting <ASIHTTPRequest:...

How to select individual items in a table view row?

What's the best way to create a table view with thumbnails (like the iPhone Photos app)? The problem I have is the selection part. How do I get information about the selected thumbnail of a selected row? A delegate method like: - (NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath:(NSIndexPath *)indexPath atPoint...

NSMutableArray, attempt to replace with nil object at 0

can any one help me to resolve this error.. [NSMutableArray replaceObjectAtIndex:withObject:]: attempt to replace with nil object at 0' ...

iPhone SDK 4 - How to enable TV out for your app?

Is there any way to enable TV output for your app to present your app via a dock connector tv out cable? Thanks for any help. (App Store approval is not necessary) ...

LibXML doesn't find any nodes for my xpath expression

Hello! I'm using xpath and LibXML in an iPhone app to find some nodes in an xml document. I'm a noob in xpath so probably i am doing something wrong. Here is the xml: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs...

iphone - start an application at the end of a phone call

Is it possible to launch an application at the end of phone call or after sending SMS? ...

CGContextSetRGBFillColor is not setting the good color.

My problem : the color of the fill in square go from black to full blue (255) with no transition color (darkest blue, dark blue, blue...). It seems that the CGContextSetRGBStroke is additive (WTF Oo) . like if the blue was 14 and the next update I put 140 the blue will be 154 and not 140 has I set. Is someone get that problem ? in the ...

UISwipeGestureRecognizer gesture start point.

Is it possible to get a gesture start point from a UISwipeGestureRecognizer. like how its possible in - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { UITouch * touch = [touches anyObject]; gestureStartPoint = [touch locationInView:self]; } ...

i have to access desktop remotely using iphone/ipad?

Hi All, I have accessed desktop remotely using iphone/ipad with bluetooth. but i can't see the desktop screen. Thanks Pankaj Chauhan ...

Reload a table view on close of add subview

I have three objects in the applicaion. There is a UItableviewcontroller(with nib file) that shows a list of the items. One UIviewcontroller to add item (with nib file) and a model class that contains item object. I show the list of item firstly (on application start). I have a navigation button on navigation bar to pop up add view (add...

loading and manipulating a multi component UIPicker with Plist

In detail code, can someone please show me a way to populate a multiple component UIPicker with data from a plist? The reason I choose Plist as my datasource mainly is because it is much easier to manage visually and edit at the later stage. I want to create a simple app that have Picker with 4 components (lets call it component A, B,...

Cross-fade within AVMutableVideoComposition

I have successfully composed an AVMutableComposition with multiple video clips and can view it and export it, and I would like to be able to transition between them using a cross-fade, so I want to use AVMutableVideoComposition. I can't find any examples on how to even arrange and play a couple AVAsset videos in succession. Does anyone...

Augmented reality iPhone with ARToolKit, Pb with UIImagePickerController and UINavigationController

Hello, I am currently working on an app with augmented reality. I chose to use the ARToolKit library (available on github). I have a little problem to integrate my view in my project. The problem is that I can not see my navigationbar when UIImagePickerController is launched AugmentedRealityController.m - (Void) displayAr [RootViewCon...

why does it works fine without 'retain' the object?

Here i used auto-release for 'tempString' in the method 'test'. According to the rule, i should use "[temp retain]" in the main . But i didnt use it. still it works fine and prints the output. Then what is the need of "retain"? Can anyone pls tell me the reason? Thanks in advance. -(NSMutableString *) test : (NSMutableString *) aString...

How does Monotouch manage resources (strings, images, etc.)?

In Android I put my application strings in a file called strings.xml. For example, for an Italian translation I need to create a values-it folder and put a strings.xml file with Italian labels inside this new folder. How does Monotouch manage such internationalization of strings? ...

Is there a way to get NSXMLParser to ignore the "&amp" and similar symbols while parsing XML?

I'm currently parsing an xml file that has a string like this between two elements: Hello & bye When the foundCharacters delegate gets called it parses the information like this.... it parses: Hello & bye It makes 3 calls to parse that element and I end up with 3 strings as opposed to 1 string. Is there some way to detect this wit...

How do I animate adding subviews?

How do I animate adding sub views to a view? I know it animates when you use a navigation controller however is it possible to animate around this code: [self.view addSubview:myVC.view]; ...