iphone-sdk-3.0

unable to read unknown load command 0x80000022

Hello, In my app, I use a very large amount of code that I copied from Apple's SpeakHere example, and when I run the app on an iPhone device it spits out this error about a hundred times before loading the XIB: unable to read unknown load command 0x80000022 It also prints these errors: warning: Unable to read symbols for ""/Users/ea...

Deactivate UIScrollView decelerating

Is there a way to deactivate the decelerating of a UIScrollView? I want to allow the user to scroll the canvas, but I don't want that the canvas continues scrolling after the user lifted the finger. ...

Tab bar Controller raising NSInternalInconsistencyException

In my SDK 3.0 core data based app, I have a tab bar controller managing 4 tabs. From time to time, apparently randomly, when I launch the app, it crashes with the following message: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Directly modifying a tab bar managed by a tab bar controller is not a...

Starting iPhone Development

I'm soon going to be starting some iPhone Development (3.0) building a simple app that communicates with a web service and uses push notification. My objective-c is pretty much non-existent but I've already got some good information from this question and also from Apples development centre. Basically if you've developed with the iPho...

Publishing Audio from iPhone to HTTP

Hi All, I have read that Apple has allowed iPod Library Access in iPhone OS 3.0 and thus an App can access the data stored in the iPod. I want to know that is there a possibility that the audio being played by an App can be published over a Network Stream. Let me know your thoughts. Thanks and Regards, Muhammad Haseeb Khan ...

UIView doesn't resize to full screen when hiding the nav bar & tab bar

I have an app that has a tab bar & nav bar for normal interaction. One of my screens is a large portion of text, so I allow the user to tap to go full screen (sort of like Photos.app). The nav bar & tab bar are hidden, and I set the the text view's frame to be full screen. The problem is, there is about 50px of white space where the t...

Is it possible to connect iphone to printer via bluetooth?

I want to connect iphone to a printer via bluetooth, but I don't find any class about bluetooth in iPhone 3.0 SDK. Do I need to join "Made for iPod and Works with iPhone Licensing Program" to get the SDK? Or is it possible to do this without joining the program? ...

iPhone speech recognition API?

The new iPhone 3GS has support for voice commands, stuff like "call Bill" or "play music by the strokes" and whatnot. I was looking through the iPhone SDK, but I cannot find any references to this capability. All of the search keywords I choose seem to only find the new voice chat functionality. Does anyone know whether Apple has adde...

Weird error for UIActionSheets when compiling against iPhone 3.0 OS

Hi all, I recently started compiling my iPhone application against the 3.0 OS. The app worked fine when compiled against 2.2.1 however, compiling against 3.0 yields the following warning: warning: type 'id ' does not conform to the 'UIActionSheetDelegate' protocol This occurs on the 2nd line of the following code snippet whi...

Switch between 3 or more views

Hello Im new to iPhone development and I have really taken this to me. I love it, but there is one thing thats naggin' me. How do I keep switching view? I know how to come from first view that is given to me when I create a new project, to a view that I make, but how do I get passed this two windows? How do I get from to views that I cr...

Tab bar controller

Hi, I have the next question: In my project I have the next: UItabbarController ....Some UINAvigationControllers.... *(1) UINavigationController UIViewController (UItableView) - When select one row it goes to...(by push) UIViewController (UItableView) My problem is when i click in the tab bar item, I s...

[UITableView indexPathsForVisibleRows] possible bug?

Hello, I been trying this in my code and it doesn´t work: NSArray *paths = [aUITableView indexPathsForVisibleRows]; An empty NSArray is returned. But if I do this in the previous line it works fine....is this a framework bug? NSArray *cells = [aUITableView visibleCells]; NSArray *paths = [aUITableView indexPathsForVisibleRows]; The...

how do I pass the View/Model/Projection matrices to my vertex shader in OpenGL ES 2.0?

In OpenGL ES 2.0, you apparently can't do glMatrixMode(GL_MODELVIEW); glLoadIdentity(); any more to set the model matrix, but I think these matrices are still built in somehow, since the GLSL spec tells you how to access them in a vertex shader. // // Matrix state. p. 31, 32, 37, 39, 40. // uniform mat4 gl_ModelViewMatrix; un...

iPhone Animated Loading Screen

Is there a way to have an animated loading screen for my iPhone application as opposed to the Default.png that I currently am using? ...

Using Finch to play sounds on iphone

I have an application which has two kinds of sounds: 1. Background sounds, looping forever till next view. 2. Sounds clips that could be played separately or all in one go. Previously i tried using AVAudioPlayer but there was always a very little silence interval between two clips (to which i didn't find any solution, if you have one, p...

iphone > xml-rpc cookie authentication

Hey there I successfully integrated the xml-rpc framwork from the wordpress app into my project. It works just fine. Thanks for that. Know I need to set an http cookie when I'm connect to the service I'm working with. What would be the best way to do this in combination with the xml-rpc framework? I'm not that experienced with this techn...

How to differentiate between annotation pins?

I have three pins on a mapview. I'd like to give each one a different color. In the delegate method viewForAnnotation, I'm doing this: - (MKAnnotationView *) mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>) annotation{ MKPinAnnotationView *annView=[[MKPinAnnotationView alloc] initWithAnnotation:annotation reuseIdenti...

Making multiple versions of an iPhone application

I made an iPhone application, and now I would like to make multiple more versions of the same application with very slightly different functionality. I was wondering if anyone knew what the best way was to go about duplicating a project with as little decoupling (I think that's the right term) as possible. Maybe someone out there who h...

create simple iphone persian Calendar

hi every one i want creat simple persian calendar with y/m/d thats it .... how can help me ? thank u ... like this : [IMG]http://www.freezpic.com/pics/b068fe1590ec230df2e28100efba72c4.png[/IMG] what can i do? ...

Which iPhone SDK to download?

In the developer center there are two different downloads for the SDK, one for Leopard and one for Snow Leopard. Which do I download? Also do I have to download a separate copy of xcode as well or is it part of the download? Thank you. ...