iphone

NavigationController and TabBarController Together problem

Hi, I have a query regarding use of navigation Controller and tabBarController together. I will explain in detail. Flow of my application is as follows, Class A (Navigation starts from here) --Class B (Pushed on navigation from A) ----Class C (Pushed on navigation from B) ------Tab P ------Tab Q ------Tab R (I want navigation here) -...

get image from previous controller

Hi, i am getting a picture from the iPhone's camera in one nib file (getPhoto.xib), where I save it into the camera library and also display it in an UIImageView (image1). Then, I have a next button which loads a different nib file (naming.nib) where the user can add a name for the image. How I can access the image from the first nib fil...

How do I switch between views like home screen

How do I switch between multiple UIView's using one UIViewController just like the iPhone home screen. If you need clarification please ask, don't thumbs down please. ...

Highlight PART of text of UITextView

Hi all together, I'm quite new to Iphone programming, and already did some search on the internet trying to get some usefull help. What I would like to do is, if my detailed view gets called I would like to highlight just a Part of the text of the UITextView Element. Lets say the text within the UITextView is: blatextbla Then I would ...

Am I allowed to integrate Google Maps into an IPhone app that is not free?

Hello I am new to IPhone development. In my application I would like to integrate maps. I would like a way of turning a UK postcode into a position on a map. I was going to use Mapview, but I have seen a couple of posts on the internet about not being allowed to use MapVIew for chargeable apps something to do with Google liceense. I...

NavigationController, Why will it not work the way i want it

I'm doing the fourth assignment on the Stanford Iphone Dev Course. - (void)applicationDidFinishLaunching:(UIApplication *)application { // Override point for customization after application launch [window addSubview:[navigationController view]]; [window makeKeyAndVisible]; ListViewController *listview = [[ListViewC...

Background threads consuming 100% CPU on iPhone 3GS causes latent main thread

In my application I am executing 10 asynchronous NSURLConnections within an NSOperationQueue as NSInvocationOperations. In order to prevent each operation from returning before the connection has had a chance to finish I call CFRunLoopRun() as seen here: - (void)connectInBackground:(NSURLRequest*)URLRequest { TTURLConnection* connecti...

Rotate to landscape for views added to the hierarchy manually (iPhone)

I have a simple UIViewController that uses a XIB for its interface. As such, the interface simply comprises a UIView, a UIActivityIndicator and a UILabel. I have the sizing constraints in Interface Builder set to keep the activity indicator and the label centred when the view rotates. The UIViewController is set to return YES for portr...

Landscape mode and locationInView in opengl es

So today I implement landscape mode for my app. It is an opengl es application. I rotated it 90 degrees. The first thing I notice is that the touches no longer work. The reason being is that the call to locationInView is still giving the coordinates as though the application is in portrait mode. How do people typically deal with this...

Can I give a UIToolBar a custom background in my iPhone app?

Is it possible to give a UIToolBar a custom background from an image rather than the usual tinted blue/black fade out? I've tried giving the view a background and setting the opacity of the UIToolBar but that also affects the opacity of any UIBarButtons on it. ...

MonoTouch and iPhone static libraries

Does MonoTouch allow to create iPhone static libraries? If yes how it can be done? ...

UIDeviceOrientationUnknown in landscape mode

I am trying to figure out what orientation the iphone has in the simulator and instead of giving it to me using the UIDevice orientation property I just get UIDeviceOrientationUnknown. Does this property not work in the simulator? What could be the possible reason for this happening? I am using opengl es ...

UITabBarController tagging Tabs?

I have an app that uses various view controllers as tabs. I'm in the process of saving the custom tab order when the app shuts down. I'm trying to find a generic identifier for my various view controllers without having to add an attribute to each controller (which my backup plan). I would think, similar to UILabels, that maybe view con...

IPhone Float to String issue

I can't live another day without knowing why this is happening. I have an iPhone application using Corelocation and here is the issue: GPSLocation.m - sends long/lat coordinates which are floats to class UserSettings.m (which is a singleton class) _ UserSettings.m - Then cast the values into a predefined strings from a f...

how to create a custom settings view / make cell label editable

Hi everyone, I need to create a custom settings view used within the app. The app is a mockup so it actually does have one already, it uses a UITableViewCellStyleValue1, but nothing is editable. So essentially what I would like to have is the same thing but with editable detailTextLabel (the label on the right hand side), what's the bes...

Xcode compiles iPhone app for Debug not Distribution - Linking error "file not found"

Xcode compiles my iPhone app for Debug fine and the application works fine on my iPhone. But when I compile for Distribution I get the following Linking error: /Users/jtesta/Documents/WaterTaxi_prod_v1.1/build/WaterTaxi.app/WaterTaxi ld: file not found: collect2: ld returned 1 exit status It's not clear to me what file is not found....

iPhone business card reader with URL callback

This may be right on the edge of appropriate for Stack Overflow. Feel free to downgrade it if I'm out of line. I'm looking for a business card reader on the iPhone that will call back my own app via URL scheme. It's certainly easy enough on the technical side. In your app, you set up the basic URL scheme for yourself. Their app resp...

Push-Notification Badge auto increment.

I've been implementing the push service to my application, and I've been thinking about the application's badge. My app is a mail app (sorta) and I want to notify the user via push for new messages added to the inbox, I want the badge = number of new messages in the inbox. I thought of doing it server sided (provider) checking for new m...

iPhone Email app launch url

The url to launch email and start a new email on an iphone is "mailto://[email protected]". I just want to launch the email app, dropping the user at the main menu, or inbox. "mailto:" starts composing a new blank email I've tried "mail:", "email:" and a few others. Is there no way to just launch the email app? ...

How to debug Core Data crash on fetch request

Hi guys, the second time I execute [[MOC executeFetchRequest:request error:&error] lastObject]; after having said NSFetchRequest *request = [[NSFetchRequest alloc] init]; [request setEntity:[NSEntityDescription entityForName:@"Login" inManagedObjectContext:MOC]]; NSError *error = nil; it crashes with a EXC_BAD_ACCESS. Included is...