Hi All,
I'm farily new to iphone dev (<3 months on my free time) and I'm starting development of my second app.
From the image, I'm adding a number of UIViews as subviews to my main UIViewController.view, the number of Views to add varies based on user selectable data.
Each view contains several controls, a label, a UITextField and ...
I am Using a Navigation based application.
However i don't want to push a view.
I have changed present ModalViewController.
Now, I am confused - how to load previouse view.
My Application's Table View - default in navigation base application
On navigation controller I have added (add employee) button.
On Add(employee) click i have writ...
I have an MKMapView in my app and have a button that turns on showsUserLocation for the map, while the map is finding the location I display a spinner so the user knows its working. I know when to stop the spinner by adding NSKeyValueObserver to the map's userLocation property. However if the user has Location Services disabled then the ...
We have a web application and we've built phone applications (iPhone, Android, BlackBerry) to be companions to the site. The usual workflow is that an existing user of the site gets a phone app and then plugs their existing credentials into the phone app and they are off and running, but more often now we are seeing folks who are downloa...
How can I get the numeric keyboard with the decimal separator? Currently I am stuck with UIKeyboardNumberPad.
...
HI,
I am new to development for the I phones and got the iphone from USA which is locked to at&t, i have successfully able to develop the apps on it, while it is not unlocked, now i want to unlock it so that i can use it with my local network and also wants to continue the development on it, so is it possible to continue the development...
I'm pushing a view controller onto my navigation controller's stack from within my TableViewController's didSelectRowAtIndexPath method as so:
MyViewController *myViewController = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil];
MyAppDelegate *appDelegate = (MyAppDelegate *)[[UIApplication sharedApplication] de...
Is it possible to have an Xcode project file which contains both the Cocoa (MacOSX) and CocoaTouch (iPhone) versions of a component?
I thought I was getting close until I realized that you need to set "Base SDK for All Configurations" in the Project Settings in order for the cross-compiler to be called (and for any CocoaTouch frameworks...
I've been working with the MKMapView control (SDK v3.0) in the simulator for a few days. I have been able to map an arbitrary location, zoom it, drop a pin, and add an annotation. I'm still a bit fuzzy on the full capabilities of the MKMapView control itself (outside of the simulator), however.
If the MKMapView's 'Shows User Location'...
I need to build an NSString that resembles the following:
Name: Craig Buchanan
Telephone: 800-555-1212
Email: [email protected]
Where:
each line (e.g. Telephone) is included or excluded based on the value of a UISwitch
the key part of the string (i.e. the part to the left of the ':') is localized
the value part is from a UITextField...
Hi all. Im currently developing a holiday journal like application which stores each place you have visited by its type. For instance, a restaurant name should be stored under 'food' section. I have managed to work with core data and create the table with no problem. However, the problem is whenever i try to change the type of a place (t...
I need to find out how to make the menu that appears in mobile safari on the iphone/touch when you tap & hold an element appear on a single tap without having to hold. how would i do this? preferably i would use webkit & no js.
...
Please consider a problem constructing an array and returning it to a parent object. Please have a look at my code and comments below.
My question is: Why does method THREE work while methods ONE and TWO do not?
// ****************************
// Master.m
// ****************************
// Simply declare array and call accessor
NSMut...
I writing an app for the iphone and I would like to save an image from it as the default.png for the next invocation. Is this possible? It seems as if the sandbox doesn't allow you to overwrite anything in its local filesystem.
...
I have a UIDatePicker on my view.
I have set DatePicker in time mode.
So user can select only time.
Whatever time is selected by user should be displayed in a textbox..
I dont know how to display time value - that is set by user through DatePicker - time mode.
please help me..
...
FILE *file = fopen([gpsFilePath UTF8String], "r");
char c[1024];
while(fgets(c, 1024, file)!=NULL)
{
NSString *cString = [[NSString alloc] initWithCString:c
encoding:NSMacOSRomanStringEncoding];
NSArray *split = [cString componentsSeparatedByString:@","];
if ([split count] !=...
My code is: dvController.selectedCountry = selectedCountry;
Why do I get the error "request for member 'selectedCountry' in something not a structure or union"?
...
Hi,
I have a UITableView and I want to provide the functionality to user to delete the row when he slips or flicks his finger on the row. I know the editing style which provides a circular red button with -ve sign on it. But How to implement the flicking style. I saw many applications using it, so does apple provide any inbuilt delegate...
For an IBOutlet UITextField, does it matter as far as memory management or other reasons how you clear the text value?
textFieldX.text = nil
or
textFieldX.text = @"";
In objective-c it is acceptable to message a nil object and @"" is a static NSString *. I'm not sure if every @"" points to the same object in memory or if it allocat...
I have an application in App store that uses app id without "in app purchase" option enabled.
I'm going to add this feature in further versions. What options do I have?
Do I need to create a new app id with "in app purchase" option? (is it allowed for existing applications ?)
...