I am very new to IPhone development. I have upgraded my IPhone to the latest version 3.0.1 (7A400). I have also downloaded the latest version of the SDK - but the latest version of the OS that XCode supports is 3.0.1 (7A341).
Any ideas?
...
Hi there,
i'm searching for a way to disable a TabBarItem from within the ViewController of one of the TabBars Tabs. I'm even not sure if this is about the View Hierarchy or what to really search for. I tried a lot but didn't come up with a solution.
Right now I worked arround it by saving a reference to the tabbar in a singelton objec...
Greetings! I know that UITableView sectionHeaderHeight is only used for grouped tables, but I'll ask anyway (in case there's some way to do this that isn't obvious) ...
Is there a way to change the section header height (and with it, the font/size) for a NON-grouped table?
Hoping "yes" or at least a "maybe" ... but fearing it might be ...
Does anyone know if there is a preferred method to find a contact's name in the Address book using their phone number as the key?
It seems that this should be a standard function since it is done in several places by the phone, such as in Recent Calls, Voice Mail list, Incoming Call ID, etc.
Thanks,
Anthony
...
I want to animate a view on top of another view in my iphone app. I basically want my view to look like the apple keyboard except with my custom controls. When i click a button I want the new view to animate up, from the bottom of the screen, on top of part of the view.
How would I do this?
...
I'd like to add custom controls to the mediaPlayer control view much as this asker:
http://stackoverflow.com/questions/190493/add-custom-controls-to-movieplayer
However, the solution posted in the above question is depreciated in 3.0. Does anyone know of a way to do this with the new SDK?
So far I have added an overlayView to the mov...
This has got me stumped.
I build an NSArray and initWithObjects. The last element never really allocs. In fact, the next alloc in my code takes the same memory address as the one pointed from the last element.
Code is:
coordArr = [[NSArray alloc]initWithObjects:
[NSValue valueWithCGPoint:CGPointMake(200.0,40.0)],
[NSValue va...
Hello,
I am developing an iPhone application with multiviews (Nav controller), but i like to receive an event if user touches in any view of the view. I understand it can be done by subclassing application delegate? If that's true how can i do it? My requirement is, i like to receive an event as soon as user touches any where in any vie...
I am working on an app which should allow user to record video on iPhone 3GS.
I was looking into MediaPlayer references but could not find anything there. Can someone give me a head start on the APIs to look for?
...
Hi All ,
Have a look to this code snippet:-
-(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
{
[webData setLength: 0];
}
-(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
{
NSLog(@"Recieving Data...");
[webData appendData:data]...
Using UIImagePicker class I can select the UIImagePickerControllerSource as UIImagePickerControllerSourceTypeCamera. This would show up both the options, camera as well as video recoreder.
I want only the video recording option to be available to the user. And as soon as user opens it starts recording without the need to tap record but...
Hello everyone,
I was wondering how I can format the textField that I'm using for a phone number (ie like the "Add New Contact" page on the iPhone. When I enter in a new mobile phone, ex. 1236890987 it formats it as (123) 689-0987.)
I already have the keyboard set as the number pad.
Thanks!
...
I'm using a trick to get gradient on my table cells.
After I upgraded to the iPhone 3.0 SDK i noticed that the gradient highlighting, when I select a cell, no longer works.
iPhone 2.2.1
iPhone 3.0
Here's the gradient code:
- (void)drawContentView:(CGRect)rect {
CGContextRef context = UIGraphicsGetCurrentContext();
UIColor *tex...
I am working off a tutorial that has this line of code:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://8004664411"]];
When the program is compiled in the 3.0 Framework and that line of code is run, nothing happens. However, if the program is build with the 2.0 Framework that line of code causes a popup to disp...
how can i declare a global NSArray and then use it across my app?
...
When the IBAction login is invoked it supposed to use a response from SOAP Web Services of either true or false, false meaning the user is not authorized to use the app.
I have it using these if statements after it gets the response, but for some reason it runs both true and false ifs.
{
[soapResults appendString: string];
NSLog(soa...
The console only says this, and the app won't get past Default.PNG without crashing
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<Simple_RSSAppDelegate 0x5248d0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key viewController.'
2009-08-08 22:23:54.135 Simple RSS[1...
After a login screen which sends the username/password to a webservice and gets back a response of either true(which is supposed to start the rest of the app) or false(incorrect username/password or unauthorized). The app gives the alert view that you are authenticated but it doesnt load the rest of the view?
if ([soapResults isEqualToS...
I am trying to overlay a button on the MPMoviePlayer on my app. I can't get it to work properly on a streaming movie. The overlay shows up on top of the view that launched the movie object (in my case a table view). I'm pretty much following the MPMoviePlayer example exactly. I would also be interested in making the overlay show up if ...
Suppose I have two fingers touching iPhone's screen but just one is moving.
TouchesMoved will just show one finger (event).
How do I know which of the two fingers TouchesMoved is referring too?
...