Because the default cropping frame of an UIImagePickerController (when using the setting setAllowsEditing:YES) isn't the right size for me I've created a custom view controller, like suggested here.
When a thumbnail is selected from the UIImagePickerController I open this custom view controller (navigationController) from - (void)imageP...
Hi,
I want to use a TableView for representing a Username/Password textfields dialog in a nice and grouped view. I figured the best case is to use the TableView and two cells for this.
I kind of got lost in the implementation... Is there any built in cells for this that I am missing?
...
I'm having lots of trouble displaying a fullscreen movie in my iPad app and then allowing the user to dismiss it with either the Done button or the "un-fullscreen" button on the player controls.
Initially I was using MPMoviePlayerViewController for the movie presentation, but I wasn't receiving the enter/exit fullscreen notifications fr...
I am initialing a dictionary in viewDidLoad and using it to create table view cells.
The first load works fine. But as soon as I scroll the table view to see the item (not displayed at the bottom) the app crashes. Through the Debugger I noticed the address of the dictionary item "rootItemsDict" changes when I did the scroll. Not able to...
When my app starts up, I get 1 or more 4.00KB memory leaks with the frame being _stack_chk_fail and the library libSystem.B.dylib. Any suggestions on what this could be would be appreciated. Thank you.
...
So, is there any way I could record video but use my own audio for it with iPhone SDK?
Thanks much for all your ideas!
...
Hi,
I am creating my second iPhone app, and I've included a feedback form using MFMailComposeViewController. This displays and works correctly, but I'm not sure I want all my users to see my email address. Is there any way to set the to: field to my email address, and then hide it so that the user doesn't see it?
Many thanks, Javawag
...
Is there an iPhone equivalent for the NSResponder methods -selectNextKeyView or -nextValidKeyView from Mac OS X? I know about the -becomeFirstResponder method, but finding out which view to call that on is not very pretty when view hierarchies get more complicated.
There must be some kind of way to find this out as when I press tab when...
Well.. I forgot how to change the text of a button and label in cocoa touch.
Please remind me..
IBOutlet id questionLabel;
IBOutlet id answerButtonOne;
IBOutlet id answerButtonTwo;
IBOutlet id answerButtonThree;
IBOutlet id answerButtonFour;
...
I'm working on a largely navigation-based iPhone app that communicates with a REST API using OAuth, and I'd like to know how my classes should best communicate with each other. I've got multiple UITableViews, multiple UITableViewDataSources, an API class, and a view controller that handles authentication in a web view.
Here's how I hav...
My iPhone app (http://hexalex.com) is not universal but it has a feature that I'd like to enable for people playing on iPads. Is there some way to detect that you're running on an iPad in compatibility mode? The UIDevice methods for detecting machine specs all return the values you would get on an iPhone (on the simulator at least). T...
I'm uploading mov files selected with the uiimagepickercontroller to my amazon s3 bucket but when I then try to play them with the media player framework, I'm told it's an invalid format.
Here's one: http://s3.amazonaws.com/irovr/users/9/92f7acd7-31b5-437c-8a30-16630e869d29/DEEDBFAE-8D41-4B52-B223-AA03B3A25491.mov
...
I used to declare IBOutlets for iPhone like so,
IBOutlet UILabel *myLabel
I just found out that the correct way to declare them is like,
UILabel *myLabel;
@property(nonatomic,retain) IBOutlet UILabel *myLabel;
But with the second and correct way do you have to release each IBOutlet in the -(void)dealloc method to avoid memory leak...
I have an iPhone application using UINavigationController and would like to customize the elements with custom background images. I was able to do this for the UINavigationController's UINavigationBar pretty easily using Objective-C categories as below:
http://foobarpig.com/iphone/uinavigationbar-with-solid-color-or-image-background.htm...
The design is divided into the following parts/features. However, I'm not very familiar with the capabilities of the iOS SDK.
Midi Parser
read and parse a binary file into an object
Play a single or multiple sound files simultaneously
can this be done with one or multiple lookup table? (a huge switch statement?)
Manipulate dura...
How to play audio in background in iphone os 4.0?
...
Hi,
I am planning to develop an gyroscope based project like rotating an opengl texture using gyroscope data, is there any sample code released from apple about gyroscope or any tutorial about integrating gyroscope with openGL... I searched google i didn't find anything except core motion guide and event handling guide.
Updated: Please...
Its broken into lines because each arrayWithObjects: adds a new question (its a quiz game).
But how come when its NSLogged it only displays the last arrayWithObjects: line. Is it overwriting the others or something?
-(void)loadQuizFromArrays{ //ALL QUESTION DATA GOES HERE
/*theQuiz = [NSArray arrayWithObjects:@"question",@"possible...
Hi, I've created a custom UITableViewCell with a label and a text field.
I want to create two cells in a group to represent a nice username/password input mechanism.
I've run into some troubles figuring it out (things like the delegate/dataSource).
Is there a more direct approach to just add those two cells and get the data inserted int...
hi, i want simply to show a double value on a uialert view it is possible?
...