I have a navigation based app. The root view is a list of items. From this root view you can tap on a table cell to an item's detail view. Or you can go to a form view to create a new item via the 'Add' button in the nav bar.
My question is how I can jump from the form view to the detail view once the new object has been created?
I d...
I have a iPad application which goes between two states, one using a SplitView the other a TableView.
Currently I have a single UIWindow object, and switch between views with the following code
-(void) switchToStateA {
[viewControllerB.view removeFromSuperview];
[window addSubview:viewControllerA.view];
}
-(void) switchToStateB {
[view...
Does iOS have any control to shows photos like the Photos application?
I'd like a control to manage albums, photos, show an album list, and show photos, like the built-in Photos, or the Facebook app.
...
Hi, I've a problem with MKMapView.
The Problem is that when I ran the app without referencing the MKMapView to the File's owner it works, but when I reference the MKMapView to the File's owner and I ran the app it crashes, and I don't know why.
This is the view I'm using:
And this is the code I have:
InfoController.h
#import <UIKi...
The Situation: I am developing a library for iOS which can be used on the iPhone, iPod Touch and the iPad. I would like to distribute it for non-commercial use under an Open Source license and for commercial use on a pay-per-use basis.
Issues: Commercial use consists of using the library in (i) in-house projects and (ii) in software sub...
Hey there,
I need Ben Gottlieb's Twitter Engine running on both iOS 4.0 and 3.1.X - I tried to recompile the libOAuth.a Library with certain SDK Versions but I didn't got it to work.
The Library compiled with 3.1.3 SDK works just on 3.1.3 SDK, and the 4.0 compiled Library only on the 4.0 SDK.
Any ideas how to get the Library running on...
I'm trying to create a class which will let me get requested data from a web service. I'm stuck on how to return the values.
// FooClass.m
// DataGrabber is the class which is supposed to get values
dataGrabber = [[DataGrabber alloc] init];
xmlString = [dataGrabber getData:[NSDictionary dictionaryWithObjectsAndKeys:@"news", @"instructio...
I need a FTP TLS Connection for my iPhone-App. A normal FTP-Connection works fine. But I need also a secure TLS connection.
I used the code from Apple´s SimpleFTPSample for the iPhone:
ftpStream = CFReadStreamCreateWithFTPURL(NULL, (CFURLRef) url);
self.networkStream = (NSInputStream *) ftpStream;
[self.networkStream retain];
self.netw...
I'm using this library: http://benreeves.co.uk/objective-c-hmtl-parser/ to parse HTML for a little iPhone app I'm making. I have got the code working so far, but it fails when presented with an accent (so far only experienced é). This is the code I'm using:
NSError * error = nil;
HTMLParser * parser = [[HTMLParser alloc] initWithContent...
How to config xCode Project to deploy iOS app into iDevice and make deployed-app use Mac network (network of which running xCode)?
...
Still "somewhat" of a newbie... I have an NSMutableArray that stores filenames - when a user clicks a UITableView the corresponding selected cell will pass the certain filename in the array to MPMoviePlayerController to play. It works, however if I exit out of the viewcontroller and come back, only the last video that I played will work,...
Hi all.
I am loading up a video file in an iPad application using the MPMoviePlayerViewController. Basically, click the button, watch the video. It works great, unless you press the "Aspect Ratio" button (the one which looks like two arrows) which normally sets the video to autofit.
In this case, it just closes the movie, and procs a MP...
I want to download a PDF file from my server and save it to the documents directory. I am able to do this using NSData but then the file in the documents directory is not a PDF: it's an NSData object. Is there any way to download and save a straight PDF file?
...
Hey guys,
The problem with this app is that the TapCatchingController does not receive the taps
that are on section headers or between sections. I'd like to learn how I should do that.
I have tried to keep my sample program as small as possible, but it's still rather long,
sorry for that. The code is however self contained. If you copy ...
I'm sure there is a way to do this using blocks, but I cant figure it out. I want to to turn an NSDictionary into url-style string of parameters.
If I have an NSDictionary which looks like this:
dict = [NSDictionary dictionaryWithObjectsAndKeys:@"blue", @"color", @"large", @"size", nil]];
Then how would I turn that into a string that ...
I set a text setting key in by Settings.bundle.
The Settings app show the key's default value well.
But I can't read the value via NSUserDefaults with this code.
NSString *aaa = [[[NSUserDefaults standardUserDefaults] stringForKey:@"aaa"] copy];
Value is always nil. I believe I omitted something required steps. What's required?
...
As per the title, will the iOS call EAAccessoryManager.connectedAccessories return connected bluetooth headsets (including those that are not made-for-iphone registered?
Dont need to connect but want to know if I can use the proximity of a device to trigger an event.
...
Hello
Is it possibly to write a HTML5 web application designed for the iOS devices (iPad, iPhone, iPod Touch) which can allow the user to upload an image from the filesystem?
Imagine uploading a new photo to your twitter avatar via a web app.
Thanks.
...
Hi guys,
I have a super weird problem. Every time I run a specific bit of code in the iPhone simulator, my entire Mac freezes: I can't close the simulator, or any other app, and can't open any apps. Worst of all, I can't shut down. I have to force a shut down manually by holding the power button.
I'm running on a 15" MacBook Pro, and t...
Hi,
Can someone please help me write the following, without using dot notation:
self.bounds.size.width
I have tried [[[self bounds] size] width], but this results in an error. Any ideas?
...