hi
i have a code like this
i have defined the method goNext but still m getting a warning "'viewcontrolller' may not respond to 'goNext'". how'll i solve this.
- (void)imagePickerController:(UIImagePickerController *)pickers
didFinishPickingImage:(UIImage *)image
editingInfo:(NSDictionary *)editingInfo
{
statements;
...
im developing an app for the iphone and im able to get a video using a UIImagePickerController
the problem is that the video thats returned by the UIImagePickerControllerMediaURL is not full resoultion -- its only 480 x 360 as opposed to 640 x 480 like the videos that sync to my itunes.
-please someone tell me this is not a limitation o...
I have build my app with and ad hoc provisioning profile/distribution certificate pair following the instructions from developer program portal. Then I send the binary (.app file) and provisioning profile to one of my peer.
He drag and drop the .app and .mobileprovision files on iTunes and sync his iPod Touch. The iTunes shows the appl...
I have two images. One of them is just plain white and has some areas with alpha transparency. It is intended to be a mask for making another image transparent. The other image, full colored and also PNG, has no alpha applied anywhere.
So I want to add the alpha values of the mask image to the alpha values of the other. Both images have...
Hello
I have a password field in my application (UITextField). When user enters text in the field, I want it to display * instead of the text they entered.
I have tried using the UIControlEventEditingDidEnd of UITextField but it only shows one * at the end when editing but I want it to display the *s as soon as any text is entered, lik...
I need to do a network ping in an iPhone app, but NSHost is an unsupported framework for iPhone OS. Does anybody know of other tools or techniques to achive similar functionality?
...
Hi I want to send text or XML from iphone to another desktop machine. Is there any way so that I can use Email to send file as attachment or can send it by HTTP POST method.
Please help me.
...
I give it 0 and 400 and it returns me sometimes values above 400. That doesn't make sense.
- (float)randomValueBetween:(float)low andValue:(float)high {
return (((float) arc4random() / RAND_MAX) * (high - low)) + low;
}
that's actually a snippet I found on the net. Maybe someone can see the bug in there?
...
I have store with entities that have coords (x, y, z).
I want to fetch them by using predicate like @"sqrt(x*x + y*y + z*z) < distance".
Is there any way to do this?
I've tried to do thi with predicateWithFormat:
I even wrote a lot of code that looks like
NSExpression * dxExpression = [NSExpression expressionForFunction:@"from:subtr...
Hi,
I have an NSURL object which gets data from my site, based on a variable entered by the user into the search bar.
I split this data into an NSArray.
Once I have done that I wish to display the data in a UITableView.
My question is this. Is it possible to load the data into a UITableView dynamically?
i.e. Program loads, no data s...
I made an iPhone application, and now I would like to make multiple more versions of the same application with very slightly different functionality.
I was wondering if anyone knew what the best way was to go about duplicating a project with as little decoupling (I think that's the right term) as possible.
Maybe someone out there who h...
Interface Builder provides the ability to create non-view/controller objects in a XIB file. In the past I have used this feature to instantiate and wire-up small components that manage view components in the XIB and this seemed a fairly reasonable thing to do.
However, I was wondering what other legitimate uses there are for this featur...
Hi
I am trying to copy an mp3 file from my Resources folder to a folder inside "Documents" folder of the app. On the simulator this works fine. But when I run it on a device, copying the files gives me this error
Operation could not be completed. (Cocoa error 513.)
The source and destinations paths are fine but I still cannot copy th...
I use UITableView with cells created using UITableViewCellStyleSubtitle. Every cell's height is dynamically adjusted using the
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
delegate method.
The problem you can see on the picture
(note: image updated)
How to set up align of textLab...
Maybe someone can recommend a book, great website or video training series for this?
...
Someone told me that openGL is for graphic only, and that it's very bad at displaying good readable text. Is that true for openGL ES on iPhone OS?
...
Hello,
I'm looking for a way to slide the keyboard into view from the right, like what happens in the Contacts application when you edit a note.
My problem is that when I call [someTextView becomeFirstResponder] in viewWillAppear, the keyboard immediatly pops up with no animation. And when I call it in viewDidAppear, the view first sli...
When Xcode creates a new file, there's always something like this in the header:
// Copyright 2009 __MyCompanyName__. All rights reserved.
How can I change that?
...
Are there any tools (emulators, IDE) which can help you develop iphone apps using .Net on windows and then publish to iTunes?
...
For some very sophisticated graphics I am thinking about making a fontset out of image files. Do the openGL ES experienced people here think that this would be okay on iphone, or does performance go down quickly with this?
The amount of text to be displayed is not that much. At max I would say as long as my question text here, for examp...