In the Maps app, when you press the tracking button in the lower left hand corner, it glows showing that it's pressed. This makes it behave like a radio button, and it will un-glow once you move the map. Is there a simple way to but a button into the pressed state?
...
Hello all,
I have looked at other answers and the docs. Maybe I am missing something, or maybe I have another issue. I am trying to save a number on exiting the app, and then when the app is loaded I want to check if this value exists and take action accordingly. This is what I have tried:
To save on exiting:
- (void)applicationWillTe...
Is there a way to launch the iPhone/iPad's settings from within your app?
...
I am building an iPhone app, which will function similarly to many restaurant finder applications. When launched, the application will start with a view that allows a user to specify a zip code for performing a search. Alternatively, if the user has an iPhone with a GPS, the application will automatically perform a search based on their ...
I have managed to do pretty complex things on iPhone but I am always stuck with views, frames, bounds, and simple stuff that defies any logic and don't work as expected.
I have a self.view in my code and it has a lot of subviews on it.
At some point of the code, I need to reduce the frame vertically to a specific size and later put it ...
Hello, I'm a young Italian developer for the iPhone. I have a plist file (named "Frase") with this structure:
Root Array
- Item 0 Dictionary
Frase String
Preferito Bool
- Item 1 Dictionary
Frase String
Preferito Bool
- Item 2 Dictionary
Frase String
...
I am trying to choose between implementing OpenGL ES 1.1 and 2.0 for my augmented reality app, which is only available on the iPhone 3GS.
About what we'll be doing:
1 -We are moving to OpenGL because CoreAnimation was exceptionally slow, and we'll be able to create a richer user experience.
2 - Our plans are to create a 3D environment...
Hi,
I have 3 view controllers that call the same class to parse an RSS feed. Using the performance tool, Leaks, and viewing instruments I see that all 3 view controllers leak at the exact same line: [[self rssParser]startProcess]; (see below)
**Edit: I should mention that there is a fourth view controller that calls [[self rssParser]st...
I have a tableview that my app shows when it loads, I would like to somehow put a banner at the bottom that if connceted to the internet will check my server for any new image files and if there are it will replace the current one and if not it will just leave it. That way I can constantly display messages to my users - sort of like in D...
I am implementing a matrix convolution blur on the iPhone. The following code converts the UIImage supplied as an argument of the blur function into a CGImageRef, and then stores the RGBA values in a standard C char array.
CGImageRef imageRef = imgRef.CGImage;
int width = imgRef.size.width;
int height = imgRef.size.height;
CGColo...
In the native Mail app, the To: field has a ContactAdd UIButton on the right in the accessoryView position, but it is aligned to the bottom of the cell (which you can see as the cell grows in height). Is it possible to mimic this using the accessoryView property? As far as I can tell, accessoryViews always align in the middle.
...
Hi.I want to run my app on my Iphone instead of simulator.But I want to ask that is UDID enough for this?We want to get Developer key and I will make my UDID registration and then can I test my apps on my device?Or 1 developer key for 1 device?
...
I've been trying to build a view that looks similar to the "stocks" application (surprise). What I would like is to have the scroller bar outside of my rounded table view, shown in the image link below, but clip the cell separators. You can see how they overlap the scroller bar, which is annoying. I can't figure out how Apple put the ...
[myTextField becomeFirstResponder];
[myTextField resignFirstResonder];
When I do this -(BOOL)textFieldShouldReturn:(UITextField *)textField , it works. But when I use the same code inside -(void)textFieldDidBeginEditing:(UITextField *)textField , it does not work.
I am certain that it is calling textFieldDidBeginEditing. I have an NS...
Now that I have a read-only application working, I am working on the insert statement. The insert returned OK in my code, but the read-back (in the code) came up empty, so I want to use the command line or browser to read. Can I copy the DB off the emulator and into my laptop for access with other utilities?
...
I'd like to use the UIView "sucking" transition (view is "sucked" into a point) referenced here:
http://iphonedevwiki.net/index.php/UIViewAnimationState#Using_suckEffect
The method above, however, uses private APIs, which makes it next to useless for an App Store app. How can I recreate a similar effect without relying on private APIs?...
I've declared a struct in my header file like this:
typedef struct {
NSString *department;
NSString *departmentId;
} Department;
Department currentDepartment;
This struct is in a fairly simple class. I assign the struct values in viewDidLoad. Just before leaving viewDidLoad, I see the struct values are still there. After the user c...
Ok, now I finished developing on the emulator and when I installed on my test device, I got the error
attempt to write a readonly database
What are the settings to control the DB access? Is this going to be difficult to manage when deployed?
More information ... I think I know what is going on ... When I look for my DB it is not...
The problem I'm having is I'm doing reverse geocoding and the full address is getting cut off in the callout. Is there any way to set autoresizingsubviews to YES?
Thanks
Nick
...
I am having a problem setting the background of UITableView to a UIImageView (see below for why I am doing this), once the view is set, it works fine, and scrolls with the UITableView, but it hides the elements of the Table View.
I need to have a UIImageView as the background for a UITableView. I know this has been answered before, but ...