iphone

How do I do a View Transition in an iPhone app without allowing back?

This is a total noob question. I have a starting view -- it's very simple: just some text and a button. When the user clicks the button, I want to go to the real "meat" of the application, which is a Navigation/Table View. How do I connect the button on the IntroViewController to a transition to the RootViewController? I don't want to m...

NSOperationQueue and concurrent vs non-concurrent

I want to setup a serialized task queue using NSOperationQueue but I'm a little confused by the terminology discussed in the documentation. In the context of an NSOperation object, the terms concurrent and non-concurrent do not necessarily refer to the side-by-side execution of threads. Instead, a non-concurrent operation i...

How to play video file in MPMOviePlayer?

I have implementing uITabbar application in which i want to play video file.Video file is playing but not seen.And simulator is Landscapmode bu MPMoviePlayer in Potrait mode.How to solve this problem. ...

Can I make my iPhone app's content searchable via Spotlight?

On MacOS X, you can write a Spotlight Importer so that your documents and content can be indexed and searched with Spotlight. I would like to write an iPhone app that generates content that can be searched with iPhone 3.0's new Spotlight search feature. Is this possible, or is this only available on MacOS X? ...

iPhone Utility App Design

I'm creating a "utility" type application with a main and flipside view, and an underlying "model" which the flipside view edits, and the main view "consumes". Following on from this question: http://stackoverflow.com/questions/263118/iphone-os-utility-app-flipside-view-and-main-view-communication My question is: where should the model...

Command /Developer/usr/bin/dsymutil failed with exit code 10

I am getting the above error message randomly (so far as I can tell) on iPhone projects. Occasionally it will go away upon either: Clean Restart XCode Reboot Reinstall XCode But sometimes it won't. When it won't the only solution I have found is to take all the source material, import it into a new project, and then redo all the co...

NSMutableString stringByReplacingOccurrencesOfString Warning

I've got an RSS parser method and I need to remove whitespace and other nonsense from my extracted html summary. I've got a NSMutableString type 'currentSummary'. When I call: currentSummary = [currentSummary stringByReplacingOccurrencesOfString:@"\n" withString:@""]; Xcode tells me "warning: assignment from distinct Objectiv...

iPhone: taking a picture programmatically.

Hello, I'm trying to use the UIImagePickerController interface from OS 3.1, with the cameraOverlayView and takePicture, but I've clearly failed to understand how this works, and so I'm not getting the behaviour I want. What I want to do is open the camera and take a picture automatically without having to having the user interact with ...

When making an iPhone App in Xcode, how do you make an app icon WITHOUT the phone adding the default glass effect glare?

I've seen many apps in the app store who's icons on the iPhone Springboard do not have the default rounded corners and "glass effect" that are created by default when I just add a 57x57 png to my resources and specify it in the plist. Does anyone know how to NOT get the iPhone to add the attributes to my application icon image when I com...

Slow loading of RSS feeds into UITableView

I have a YouTube RSS feed set up to show YouTube videos in a tableview. When I load the controller though, it takes a long time to load the feed, so it appears for awhile that the app has frozen. How can I load the view controller first, then show a loading/spinner while my app downloads the feed? ...

iphone SDK: How can I set the Title for a UINavigation Bar?

How can I set the Title for a UINavigation Bar programmatically? Thanks in advance. ...

Cannot run ad-hoc iPhone app

I am trying to run a beta ad-hoc app on my iPhone for the first time (I am not a developer and have no prior experience with this), and I cannot get it to launch. It shows up in iTunes fine, it transfers to my phone fine, but when I tap its icon it appears to launch, then immediately quits back to the home screen. I tried downloading the...

iPhone: Pass a value to a method called via @selector()

I want to pass a variable to he buttonEvent method in the selector. [button addTarget:messageTableViewController action:@selector(buttonEvent) forControlEvents:UIControlEventTouchUpInside]; How does one do this, say if the variable is uid? the method signature is -(void)buttonEvent:(NString *)uid; ...

Xcode configuration options for dependancies

I have an Xcode project with several static library dependancies set up in the Target's build options. This means everytime I build the project, the dependancies also get built. My question is, which configuration is chosen for the dependancies when they are built? E.g. In my project, I select 'App Store' as the configuration to build...

iPhone Compile Architecture: Standard vs Optimized

This is something stupid I probably should know, but Googling fails me: When compiling the binary I'm going to submit to the App Store, in the Project Info -> Build tab, there's an "Architectures" option. The default is "Standard" but I noticed there is also "Optimized" Which should I use when submitting to the app store? I have been u...

How to add a file (text or image) to iphone app through itunes?

Hi, Is there any way to add a file (image or text) to already install app in the iphone through itunes (or any other way)? I'm working on an app, in which I want to add a feature for adding external file (like text or image file). Please help me, how can I achieve this? Or it is not possible in current SDK? Note : I don't want to do...

How can I maintain display order in UITableView using Core Data?

Hi All, I'm having some trouble getting my Core Data entities to play nice and order when using an UITableView. I've been through a number of tutorials and other questions here on StackOverflow, but there doesn't seem to be a clear or elegant way to do this - I'm really hoping I'm missing something. I have a single Core Data entity tha...

How to change UIBarButtonItem's type in UINaviagationBar at runtime?

Hi, I am working on an iPhone's view which composed 3 elements, UITextView, UIToolBar with an UIBarButtonItem. The goal is, I want UIBarButtonItem change its style from 'edit' (UIBarButtonSystemItemEdit) to 'Done' (UIBarButtonSystemItemDone) and update new selector to new method. First of all, I have tried following code but it doesn'...

How can i restrict Texting in iPhone if it is in Motion of 10MPH?

Hi All, could you please give me some information For how to develop an application/Service for iPhone/Smart phone to restrict Texting in device if it is in Motion of 10MPH speed. Thanks in Advance. Bhramar ...

How hard is developing for iPhone?

I want to know how difficult is to develop on iPhone plataform. By difficult I want to mean: Effort in terms of programmer versus software complexity. To be clear: how many programmers are needed to develop a medium sized app on iPhone? SDK learning curve. Hardware and other non-programming related stuff affecting the development ...