I have a class that updates two .plist files in the app documents directory via an NSURLConnection. The class acts as its own delegate for NSURLConnection. It works properly when I ask for a single file, but fails when I try to update two files. Does it look like I should start a new thread for each of the getNewDatabase messages?
- ...
hai, i added more than 7 view controller to the tab bar controller,it shows
more at the end,when i click "more" ,it shows remaining,but edit button is available at
the right corner of iphone screen,i want to disable,hide it?
...
Are there any guidelines on pitfalls to avoid while developing iPhone applications?
...
Hey people,
I have an AVAudioPlayer playing some audio (duh!)
The audio is initiated when the user presses a button.
When they release it I want the audio to fade out.
I am using Interface builder...so I am trying to hook up a function on "touch up inside" that fades the audio out over 1 sec then stops.
Any ideas?
Thanks
...
Hi there!
Does anyone know how to create a text field that has a UIImage background and does word-wrapping?
It appears that word-wrapping is not available on UITextField, while a background image is not available for UITextView! Also, it should change the size of the control or at least alert that the number of lines changed so that a ...
I am rotating my image with the following code:
CGAffineTransform rotate = CGAffineTransformMakeRotation( [ratio floatValue] );
[imageView setTransform:rotate];
But it doesn't have sharp edges, does someone knows a solution for this?
Here's the link to the image i get:
link
...
Should I put the UIToolbar right in the window at the bottom, and then put the view above it (so the view doesn't continue underneath the toolbar), or should I just make the view cover the whole window and then add the toolbar as a subview to the view? So my question is, should the toolbar be a subview of the view or the window?
- the w...
I am new to iPhone development.
I've seen many applications, which have their settings stored in the iPhone's setting app. For example, Default User Name & Password are stored in settings for "myApp."
Whenever the user starts "myApp", userName & password are loaded from the settings app.
How would I implement this functionality int...
(We're talking about code inside custom UIViewController subclasses -- And by the way I don't use IB) Ok so I set the self.view member in - (void)loadView, and then I create my controls and views and whatever in - (void)viewDidLoad, and then add them to the subview. If the control isn't a member, if I create it and release it locally in ...
Is there a way to capture clicks on links within a UIWebView. I want to find out the address that the user has clicked, but not actually go to the page.
Is this possible?
...
My comic book app is up and running but with a few things missing.
1) I want to have the images scroll from left to right, but I have the app automatically set itself up to landscape mode upon opening. Where to I tweak this part of the app?
(btw...It is doing left to right in portrait mode)
2) I have two of my images showing...where...
Given: I have a bit of a "pop up" view that I put over my tableView within my UITableViewController. I put it there like this:
[self.navigationController.view addSubview:self.hoverView];
Problem: I cannot see this hoverView when I add a tableView footer view. Seemingly unrelated yes?
self.tableView.tableFooterView = [[UIView alloc]...
I have two physical iPod touch devices. If I try running a program that uses a GKPeerPickerController to find another iPod touch running the same program, they just stay at the peer picker screen without any progress. Both have bluetooth enabled. I have tried my own program, along with Apple's GKTank sample app. Neither of the iPods ...
First of all, my code isn't complex - in fact it's just two sample programs from "Beginning iPhone Development: Exploring the iPhone SDK", combined into one program. I took the ViewSwitcher application, which switches between a blue view and a yellow view, and replaced the YellowViewController with the CameraViewController from the camer...
I am interested in developing an iPhone application that creates ad-hoc networks between iPhones.
Is such an application feasible?
I am a novice with iPhone development, so I apologise in advance for my naiivety.
Thanks
...
I am trying to determine feasibility of certain features required in a (potential) project. I am not (yet) looking for a how-to, just a can-do. I apologize for any vagueness and ignorance: the former due to an NDA that makes Apple's NDA look like GPL, and the latter due to the fact that I have no iPhone or MAC experience.
I do have a ...
(Just to let you now, I'm learning to develop for iPhone with a book I got called Beginning iPhone 3 Development: Exploring the SDK, and I do not use Interface builder)
Is there ever a reason to use the getter in the same class, when a private member is visible? Like in Foo.h, having
NSObject *myObj;
...
@property (nonatomic, retain)NSO...
(Just so you know I am learning to develop for iphone, without interfacae builder)
I'm coding my first multi-view app, which has a root viewcontroller and two other viewcontrollers, and the root viewcontroller uses lazy loading, so when viewDidLoad, it creates the first viewcontroller and adds its view to the subview, but doesn't create...
The host would need to have port 2195 open and support push notifications under apns. I have had some trouble finding a hosting service that would support this.
Also, it would be nice if you could have PHP, MySQL, etc. access under the same provider.
...
Hi,
I have a table view that leads to a table view but I don't know how to add a description.
My code is
- (void)viewDidLoad {
[super viewDidLoad];
//Display the selected country.
lblText.text = selectedCountry;
//Set the title of the navigation bar
self.navigationItem.title = selectedCountry;
}
any thoughts?
...