I want to use a modal view (UIViewController) as a "normal" view, which can be pushed on the navigation controller stack. Normally, a modal view is presented like this:
LoginViewController *myView = [[MyViewController alloc] init];
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:myView]...
Hi,
I would like to build, install and execute an xcode project on device but without using XCode GUI. Is it possible?
Thanks in advance.
Niko
[EDIT]
And what about an IPA? is it possible to install, execute an IPA application without using iTunes, only with shell commands?
[EDIT 2]
or maybe using Automator?
...
Hi all,
First off, I want to say this site is AWESOME! and it helped me do lots of stuff while creating my iPhone app.
Now, my problem is:
When I launch my app, I have a UIImageView that loads an image depending on an if/else statements in
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
method. These images are assig...
Hi!
Sorry to bug twice so quickly, but since people were so kind in their informative responces, I figured it couldnt hurt to ask another question.
The same program i tried to make it rather swanky and have a main screen which allows you to click on a button which leads to a limited options screen. This lets you switch the music on ...
I have a strange bug regarding the MPMoviePlayerController. If I do a reverse pinch gesture, (move two touch locations apart), while a video is playing (landscape), the video switches to portrait mode, broadcasts a MPMoviePlayerWillEnterFullscreenNotification and a MPMoviePlayerDidEnterFullscreenNotification, and is then stuck.
No touc...
Does anyone have some tips as to how to insert tablecells when CoreData objects have been added? What possibilities does coredata have to notify the tableView? Or should the tableView monitor CoreData? Will I get into trouble when doing a reloadData?
I am looking for a/the way to do this. I can probably figure the code out from there.
...
How do I format a date to produce the following output on the iPhone?
2010-09-24 13:00:00 -0700
...
Hi,
I'm looking to build something like chatroulette as a mobile app. Ideally it would be able to work across platforms (both Android and iphone). Any recommendations?
Thanks,
Artie
...
I have this code to set the background image of the UITableViewController:
self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"bg5.jpg"]];
Thats in viewDidLoad.
On scrolling the table the part of that background image around each section goes with it, annoyingly. If I add a title and header to these ...
Hi all,
First off, I want to say this site is AWESOME! and it helped me do lots of stuff while creating my iPhone app.
Now, my problem is:
When I launch my app, I have a UIImageView that loads an image depending on an if/else statements in
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
method. These images are assig...
Hi guys,
here is what i want:
create an object that 'lives' in its own thread, all the methods should be executed in that thread.
i.e:
// i'm in the main thread
MyClass *myObject = [ [MyClass alloc] init ]; // it creates its own thread
[myObject method1]; // should execute the method1 in myObject's thread
[myObject method2]...
I currently have a view controller that implements ASIHTTP for handling API calls.
My view controller fires 2 separate calls. I need to be able to distinguish between the 2 calls in the -requestFinished(ASIHTTPRequest*)request method, so I can parse each one accordingly...
Is there any of doing this?
...
Hello,
I have a UIPicker with 3 components containing numeric values, this allows the user to set the time in hh:mm:ss format. If I select the hour from the first component my UITextField looks like this: 10:(null):(null). The (null) can be removed when the user selects the appropriate mm and ss. But if the user just wants to enter 10 h...
i'm having a view (lets say view1) which have a button to load an uiwebview,after loading the webview i need to show the view1 again, how can i achieve this.
...
All the sites I support have full-sized and mobile-optimized screens. Janrain's support for mobile browsers displaying their widget is completely disappointing. That is, you can't see both columns of auth-providers as the second column is cropped on narrow screens.
Are there any service providers like Janrain that actually detect mobile...
EDIT: Not really a problem, I did a typo. It actually works just fine :)
Original question:
Hey.
I'm trying to place a UITextView in or on top of an UIAlertView. I know that the UIAlertView automatically uses a UITextView if message of the alert is too long, but I want it to always be an UITextView, and I want it to be editable and ...
Hi All
I am developing an application that has a tabBar. On tapping a tabBarItem a new connection object gets created with some URL. Now the problem is that as much items we select on tabBar, that much number of connection objects gets created and all runs simultaniously. I want to close the previous connection on selecting a new tabBar ...
I'm working on a navigation based app, and I chose it so that I can push and pop controllers on and off the stack. It's easy enough to move forward - just push a new controller. And moving back is easy as long as you go to the root view controller. There is a method called popToViewController:animated, but I didn't create the controll...
Hello all,
I am trying to provision my app to run on my iPad for testing. I have everything set up properly, but in the organizer, Xcode displays this message:
The version of iPhone OS on “iPad” does not match any of the versions of iPhone OS
supported for development with this installation of the iPhone SDK. Please restore the
devi...
This case is really strange, i've spent 2 whole days to get Twitter Oauth working with the iPhone and i failed over and over again. Its strange since most of the people don't seem to have the same problem as me.
First of all, the Consumer Key and Consumer Secret is okay, i tried with 2 OAuth apps (Twitter) with every possible configurat...