The New York Times iPhone application has a Tab Bar with five tab bar items. When you select the Latest tab, the app shows the title and abstract/summary in a UITableView. When you select an individual story to read, the Tab Bar disappears and is replaced with a header and footer that appears/disappears depending on the state of the ap...
Hi all,
what is the best way to find out whether the current device supports a phone call?
iPod Touch does not support it at all and iPhone does only support calls after entering the SIM password.
Is there a similar method like [MFMailComposeViewController canSendMail] for mail?
Thx in advance :)
...
Ok. this one's a challenge.
I have a tableview within a navigation controller.
I push it from the root, where I have an add action that allows me to add a new record. That works fine.
Now what I've tried to do is add this tableview to a tab bar view (without a tab bar controller cuz that won't work) but within the same navigation cont...
As with the settings page, I have a UI that displays a list of parameters, one of which is a date. When the user presses the row containing the date, a controller displaying a UIDatePicker is pushed.
What is the best way to update the table row with the selected value of the UIDatePicker when the user presses the back button to go back...
The iPhone 3.0 software added copy/paste, and native application can programmatically copy content to the clipboard. Is it possible to do the same, i.e. copy text to the clipboard, from JavaScript code running inside Safari on the iPhone?
...
I declare a variable in the header file and synthesize it in the implementation. When the view loads (ViewDidLoad) I read a plist file an populate the variable with a value. WIth my NSLog I see that the variable contains the value. However, after the view loads, I have some interaction with the user via a button the executes a method....
I have created a variable in my App Delegate and from my first View Controller, I am saving a value to the variable (in the App Delegate).
Here is how I'm saving the value to the variable in the App Delegate:
MyAppDelegate *DelegateVar = TheValue;
NSLog(@"%@", DelegateVar); // This NSLog outputs correct value
Later in the program, i...
How can I do this without having a million if then statements?
...
howdy,
i'm trying to write a little concept app which reads the character stream as the user types in a UITextView, and when a certain word is entered it is replaced (sort of like auto-correction).
i looked into using -
(BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text;
b...
Hi All,
I am a newbie iPhone Programmer and have a question regarding how to access methods of a Parent View Controller.
In my program when the program first loads (applicationDidFinishLaunching) I do the following code:
[window addSubview:rootViewController.view];
[window makeKeyAndVisible];
which basically calls this
- (void)view...
I'm working with some colors, and they don't appear to be correct at all. The attached Images show the expected result, and the actual simulator, and on-device result. As you can see there appears to be quite a difference between what the Gimp thinks RGB(0, 16, 60) is and what the output I'm getting from [UIColor colorWithRed:0.0 green...
Is it possible to swap out the icon for UITableViewCellAccessoryDetailDisclosureButton with a custom icon?
...
I am using CGAffineTransformMake to flip an UIImageView vertically. It works fine but it does not seem to save the new flipped position of UIImageview, because when I try to flip it 2nd time (execute the line code below) it just does not work.
shape.transform = CGAffineTransformMake(1, 0, 0, 1, 0, 0);
help please.
Thanks in advance.
...
My google-fu is failing here. I'm looking for the name of the UIView (or whatever it is) that handles several pages, with those little glowing dots indicating which page you're on.
...
I have been beating my head on this for a few hours. I have some sample code (using a uinavigationcontroller) when the view loads the camera roll will be presented. However, when I try to incorporate the same code into my app, which is a tabBarController, I get a blank modal photo picker. I can't seem to track down what I am doing wron...
I have an app with a UITextField, amongst other things. When the user first taps on the text field, there is a noticeable delay before the virtual keyboard appears. On a 3GS it isn't too obvious, but on an older iPhone the delay can be around 1 second. After that the keyboard always pops up instantly. The delay is only the first time...
Hi friends, I am developing an alarm app in iphone. To set alarm I have to use APNS (Apple Push Notification Service). Can you suggest me how to do this or some important tutorial regarding this.
Thanks in Advance.
Ruchir Shah
([email protected])
...
Hi, i am new to iphone...i have coded in viewdidload
-(void)viewDidload
{
actSheet = [[UIActionSheet alloc] initWithTitle:@"How"
delegate:self
cancelButtonTitle:@"ok"
destructiveButtonTitle:nil
otherButtonTitles:nil];
}
when one button is press...
Hi All..
In my iPhone application i want to allow a user to download a file.(video file)
From a UIWebview i have linked download button to the video file.
Didnt worked !
Any ideas ?
Please help !
...
Is it possible to renew an adhoc tester's provisioning profile PRIOR to expiration? Currently, it seems I have to wait for it to expire before I can renew it -- which means that my testers lose a day of testing while waiting for me to renew the profile and mail it to them.
...