iphone

iphone Application Loader problem

I successfully followed and completed all the steps in the apple provisioning portal for creating the distribution certificates/profiles needed. Got everything loaded upto xCode and my project compiles correctly. However, when I insert my last app.zip file into the Application Loader, I get this single error: Bundle identifer: com.you...

Is there an upper limit to stack size for secondary threads for iPhone?

In building an iPhone app, I created a secondary thread to handle real-time tasks. Apple Developer documentation seems to indicates a "recommended/maximum" stack size of 512KB (524288 bytes) for secondary threads. http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/Multithreading/CreatingThreads/CreatingThreads.html ...

Manually Paging in uiscrollview

hello all, I have a scrollview with lets say ten subviews in it. All are shown at the same time. I want to page between each subview. One idea is to set the frame size equal to a single subview and turn the paging on. But then it will receive the touch only within that frame. I want the user should be able to scroll it from any where i...

How to play background audio using AVFoundation for iPhone/iPoad Touch with iOS 4?

Hello everyone I think that it's clear from the title... The Problem: I already have some objective-c code that uses AVFoundation and its AVAudioPlayer to play some sounds in my iPhone apps, it takes a path for a folder in the documents and plays all the files in it one after the other using an AVAudioPlayer object (I implemented AVAud...

Must I multiply the scale with the point values for retina display, in this case?

Since the retina display, suddenly this piece of drawing code seems to not work anymore. The drawn image is slightly offset than it was before and appears somewhat stretched. I am drawing something in the -drawRect: method of an UIControl subclass. I figured out that the current scale inside that UIControl indeed is 2.0. This code obtai...

Page Curl in a Tab Bar Item

I have a three item Tab Bar which works fine. On occasion I need to switch to a view not from the Tab Bar item but via an IBAction (button press) instead. Again this works fine with [self.tabBarController setSelectedIndex:1]; I want to switch to this view however with a PageCurlu transition effect. I use this to do it: EstimateControlle...

Content of Ext.Carousel ist not visible

Hello! I have a problem using the Carousel component of the Sencha Touch Framework. I have a component extended from a simple Panel that does the following: var cardItems = []; this.basicCard = new Ext.Component({ scroll: 'vertical', html: 'Hello Carousel 1!' }); this.basicCard2 = new Ext.Component({ ...

Home button doesn't exit app in iPhone simulator 4.0

I noticed that when building then running viewDidLoad only gets called once. If you press the home button and re-enter the application, viewDidLoad does not execute again. Another thing I noticed is that when you re-enter an application it starts off right where you left off. Is this the same behavior as in older SDKs? Does this mean t...

Manually scrolling UITableViewController when a UITextField becomes first responder

Harrr pirates! I'm trying to make a data entry screen using a TableViewController. It contains a grouped table view with two sections, each with a few (2 and 4) rows with a UITextField inside them. When any of the UITextFields become first responder they scroll into view automatically. Great, you would say, but I want to scroll the whol...

Application is working in iOS4.0 or higher but it's crashing immediately after launch on device 3.1.3 or lower.

I've an application which is working fine on iOS 4.0 or higher but keep crashing immediately after launch on device 3.1.3 or lower. I've set "Base SDK" to "4.1" and "Deployment Target" to "3.0". Crash Log - Dyld Error Message: Symbol not found: _UIKeyboardFrameEndUserInfoKey Referenced from: /var/mobile/Applications/FE470A03-6285-...

Objectiv C iPhone. Getting NSMutableArray in Table

Hi! I try to get the data of an array in an TableView but get an bad access error all the time. My code looks like this: NewsViewController.h #import "StatusMessage.h" @interface NewsViewController : UIViewController { IBOutlet UITableView *table; NSMutableArray *statusMessages; } @property(nonatomic, retain) NSMutableArray...

XCode Analyze and Build skips every file

I am building a game using cocos2d-iphone 0.99.4 and XCode 3.2.4. When I try and and "build and analyze" the analyzer simply skips every file with various messages. My files are all skipped for the following reason: '/var/folders/kn/kn3feAZJGICNBebbEUEgS++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/QSwitch_Prefix-efddpu...

iPhone SDK Photopicker sample - impossible to add a subview!

That's pretty simple to test and explain. If you get the PhotoPicker sample, and you add a UILabel to the timedPhotoFire:timer method, like this: - (void)timedPhotoFire:(NSTimer *)timer { //ADD THIS LABEL HERE UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(200, 180, 50, 30)]; [label setText:@"Hello!"]; [self...

Weird EXC_BAD_ACCESS, what am I doing wrong?

Hi, I have a UITabBarController. One of the tab shows application "bookmarks", these bookmarks are basicly search types saved to a Core Data (SQLLite) database. When I load my application, go to the bookmark view (bookmarksViewController), it loads a function in my appDelegate (getBookmarks) and shows the result in an table. This work...

Can we used Google API & YouTube API for our commercial video streaming products?

we have to develop a commercial video streaming application for iPhone & within that app we are planning to integrate additional searching functionality for Google Video & You Tube. I want to know following points, Where can i find the Google video API & You Tube API ? Will there be any legal issue on Google Video & You Tube video inte...

iPhone app id switch resulting in mobile provision madness in Organizer.

In the middle of developing an app, I was asked to switch to a different developer account, which resulted in adding a new app ID and creating new provisioning profiles for adhocs on the new account, as well as updating the XCode settings to sign with the new identity. The problem is that somewhere, somehow XCode is keeping the old prov...

Library for both iOS and OS X apps?

For a while now I have been killing spare time by creating a 2D game programming toolkit/library. It is written in Objective C, and consists of an OpenGL rendering system and a whole bunch of AI, physics code, a bunch of specialized containers and other game related stuff. Apart from the OpenGL based View mechanism (obviously), most of t...

libxml2 use for ipad

When I use libxml2 in my ipad project (i use the dylib and add the header flags correctly) it doesn't build and gives the error: /Xcode4/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/include/libxml2/libxml/xmlversion.h:24 Expected '=','','.','asm' or 'atrribute' before 'void'. line 23-25 of xmlversion.h ...

Why does Apple recommends to create modal navigation controllers programmatically?

"When presenting a navigation controller modally, it is often simpler to create and configure your navigation controller object programmatically. Although you could also use Interface Builder to do so, doing so is generally not recommended." If fact, because my navigation controller is simple, I would rather customise the view in IB! ...

bayesian network library for iphone?

i m looking for a bayesian network library that work on the iphone. any tip ? ...