Hello,
I'm currently working on an application that needs to check a web service for an updated version of a locally stored XML file. If there is an update the file must then be downloaded and saved to the iPhone. I'm not really sure what direction I need to head in.
Currently I know that I can use NSURLConnection delegate methods to e...
Quick question, when you are implementing a UITabBarController and you are adding image icons to the tabs is there a way to override the blue active masking color, can you specify your own gradient or a custom image for the background grad?
cheers Gary
...
Hello,
I have a situation where I have a view, and several subviews, and the view and all but one of its subviews are expected to rotate. The one subview that I don't want to rotate is a UIImageView and the image gets distorted when I rotate so I need it to simply not rotate when the rest of the views components rotate.
Does anybody...
Hi,
I'm using a TabBarController with a few Tabs and I have memory problems when switching through the tabs and the contents. Is there a way to release and dealloc everything when I go to another ViewController ?
So when I am in Tab#1 with ViewController #1 and I go to Tab#2 with ViewController #2, how can I free all the memory ViewCont...
I want to encode data via a DTMF encoder and send it back to the iPhone via the 3.5mm Jack.
Is it possible to send data back into the 3.5mm jack. conventionally audio signals are sent out over the iPhone 3.5mm jack?
Is there provision to deal with DTMF and 3.5mm jack based input applications in Iphone's External Accessory framework?
...
I have seen mentions of 2 different distribution models of iPhone apps - Ad Hoc and Development.
Is my understanding correct that these two are the same just with different names?
...
Hi,
I have here a view with an image and the text view (with finite frame size) .
I've already implemented the textview keyboard notification but the problem is that when inputting in the textview it still behind the keyboard (the text is not visible). It seems this problem occur when I have an Image view as background.
Pls advise me...
I'm having navigation controller with few views.
I've table view in one of the views. I'm showing tick mark when user selects a cell in table view. Upto this point, its fine.
When user goes back to previous view and comes back, i want to reset the table view. How?
...
I have a UIViewController as root vc, attached to the window. Then I simply created another VC and want it to appear modally. When I add this directly to the rootViewController, it is visible. But when I call
- (void)presentModalViewController:(UIViewController *)modalViewController animated:(BOOL)animated
nothing happens.
...
Does overflow:hidden applied to work on iPhone Safari?
it seems not.
i cant create a wrapper on the whole website to achieve that...
do you know the solution?
Example: i have a long page, and simply i want to hide the content the goes underneath the "fold". and it shoudl work on iPhone/iPad
THANKS
...
I currently have a UITableView with each cell containing four UIButtons. I am placing an image for each button with a downloaded picture from online. I'd like to have the button fade in when the image is finished downloading. I know I can animate in the viewDidLoad, but I assign the image in the cellForRowAtIndex function. How do I go ab...
This has been really driving me crazy. Web links work fine, but a phone number (I have tried a zillion combinations) do NOT work from my UIWebView. Any help MOST appreciated. Here's 3 more ways to do it. And none of them will dial a phone number.
- (void)viewDidLoad {
[super viewDidLoad];
CGRect webRect = CGRectMake(0.0f, 0.0f, 320.0f,...
Ok I need a bit of help on this. I'm doing an iPad app with a splitview controller. For the detail view I have a .XIB with three views created in the IB. Each view has its own toolbar with custom buttons. So this is the problem, when I rotate the app and add the popover using this:
Code:
- (void)splitViewController: (UISplitViewControll...
I have saved all my files using something like this
NSString *fileName = [NSString stringWithFormat:@"%@.plist", myName];
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *appFile = [documentsDirectory stringByAppendingPath...
My mp3 playing code is:
NSError *error;
soundObject = [[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:audioPathString] error:&error];
if (soundObject == nil) NSLog(@"%@", [error description]);
soundObject.delegate = self;
soundObject.numberOfLoops = 0;
soundObject.volume = 1.0;
NSLog(@"about to play");
[soundObject p...
Hi
I have a UITableViewController where the user should be able to edit the items. In order to enable editing i use this :
self.navigationItem.rightBarButtonItem = self.editButtonItem;
And for everyone, how does not know where self.editButtonItem comes from, it is predefined by the SDK.
So, now when I press on any item, this method...
I'm trying to set up a UITableViewCell that can have an image in the upper right corner.
I have it working for portrait mode, but when I rotate to landscape, the image disappears.
Here's the code:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifi...
I want to get the volume or even how much noise is coming through the mic. So someone is talking or some noise is going on in the background I want to know how much. Which framework would I use: Audio Toolbox, Audio Unit, AV Foundation, and Core Audio
...
hi ,this is lak
i am having problem with my text view,i selected text view to display content and this text should not changed by user..
but my text view is allowing me to edit text on toit how can i disable this one...
...
I am confused by the relationship between the appDelegate, MainWindow and the various views (and corresponding contollers). What I want to achieve is to immediately after app launch, hand control over to a "mainController" class that in turn loads the nib-files as needed (to minimize program logic in the app delegate). First, I need to l...