iphone

Iphone SQlite - Populate Table from Text Field

Hi, I am trying to prepopulate my SQlite Table from a Text File - alltough it is compiling fine, no rows will be inserted: NSLog(@"Insert Table for English"); char *errorMsg; NSString *defaultDBPath = [[[NSBundle mainBundle] resourcePath ] stringByAppendingPathComponent:@"english.sql"]; NSLog(@"DefaultPath: %@", default...

Javascript webkitTransform within a for loop

Hey, I've come across a strange problem whilst trying to mimic the native iPhone page transitions (slide current page out and new page in). Here's my current code (extracted from a larger file, with no errors when debugging, so code logic doesn't seem to be the problem): Notes: A new page is created when a link on the current page i...

sectioned tableview index selection highlighting

I feel this should be a simple property, but for the life of me I've searched and cannot find the answer. I have a tableview index to the right of my table. When selected, it grays out everything. I'd like to mimic the iPod app, whereby when the index itself is selected, it is semi-transparent (alpha of maybe .4f). Any ideas? ...

iPhone. Is it possible to load a video file and select a specific frame?

Is it possible to load a short video file and - once loaded - select a specific frame and display that frame in a view? If there is no native support for this, how about an open source alternative? Thanks in advance. -Doug ...

Back Button Issues With Navigation Controller (iPhone)

So here's the functionality that I'm looking for: 1. Main Menu doesn't have the navigation Bar 2. All other screens from the Main Menu do. 3. It should animate correctly I partially got this to work (just not the back button part). In the Main Menu viewDidLoad I just go: [self.navigationController setNavigationBarHidden:YES]; In an...

How to simulate a phone call income on iPhone Simulator?

I want to simulate a phone call in my iphone simulator. Or which method will be called if a phone calling me? ...

Core Data data model: attribute type for UIColor

I'm just starting out with Core Data and right now I'm building my data model. I need a UIColor attribute for my entity, but the type dropdown for the attribute doesn't have an option for this. Do I set it to Undefined or what? Thanks ...

2D Game Character Animation in iPhone - How is it done?

What I mean is, do animators work on an animation in say Flash (or some other kind of key frame animation program) and then export it to the iphone somehow? For example, say I am an animator and I want to create a person waving for an iphone game. What type of external program would I use and then what libraries on the iphone sdk would...

Is there any SMS through data app that is available for iPhone and Blackberry?

I know there's the app called Ping! for iPhone that allows the sending of SMS messages over your 3G connection, therefore it doesn't count as a text message and it acts pretty much the same as the regular iPhone texting software. Is there any app like this that's available for both iPhones and Blackberrries? ...

How to disable any autorotation ?

Hi guys, I am trying to code for calling Landscape screen from Portrait screen. When current screen orientation is Landscape, it would be doesn't allow any autorotation. I've tried the following code : // Override to allow orientations other than the default portrait orientation. /*- (BOOL)shouldAutorotateToInterfaceOrientation:(UIIn...

A question about openGL and butons on iPhone

Hi, I'm new to openGL and I have a question, I'd like to make a "video wall" type application, where multiple images are mapped onto a cylinder, I'd like to then enable each of these images as buttons.... Is this possible? I'm not sure if objects in an openGL space can act as buttons.... Thanks ...

The concept of file's owner,first responder, and application delegate in iPhone.

Possible Duplicate: iPhone Interface Builder and Delegates What is the relationship between these three component in the Objective C / iPhone world? I found that the App Delegate have some relationship with the UI and the variable in code. It match the variable and related UI object on the view. But I found that the File's own...

how to create C# web service for mpeg 4 streaming?

Hi all, I want to create a C# web service for audio steaming (upload n download) to iPhone. any help would be greatly appreciated. ...

How can I manage a method after touching leftBarButtonItem in UINavigationController ?

Hi all~. I was using simple UINavigationController. but If I come from sub viewController, I want to occur a some custom event. For example, If rootViewController is AA and subviewController of AA is BB. and then enter the BB (by pushViewController). and then, BB->AA. this time, I want to manage a event. currently, I made it view UIB...

How can force copy selected text ? [iPhone]

Hi~ I have one question. ^^ How can i get "selected text" on UIWebView (or UITextView) ? I'd like to copy "selected text" without copy/paste popup-view. 1) i removed ... copy/paste view. ( it was success~ ) UIMenuController *theMenu = [UIMenuController sharedMenuController]; [theMenu setMenuVisible:NO]; [theMenu update]; 2. forced ...

how to set/get pixel on a texture in OpenGL ES on iPhone?

I am trying to Google for what I've mentioned in the title, but somehow I couldn't find it. This should not be that hard, should it? What I am looking for is a way to gain access to an OpenGL ES texture on iPhone, and a way to get/set pixel with it. What are the OpenGL ES functions I am looking for? ...

count all items within a dictionary

Hi guys, my question is: I have a dictionary with one object for each character of the alphabet. Within those objects, there are all values for a specific character. Example: alphabetDictionary a apple alien b balloon ball I now want to count all entries within this dictionary: apple alien balloon ball -> 4 Usi...

Multiple targets - multiple Settings.bundle files?

Hello. I am making a iPhone app that has two different targets. They use the same files, with some #ifdef here and there, and that works just fine. But now the project has stopped. Does anybody know how to have different Settings.bundles for both targets? Thank you! ...

iPhone: didSelectRowAtIndexPath not invoked

Hi, I know this issue being mentioned before, but resolutions there didn't apply. I'm having a UINavigationController with an embedded UITableViewController set up using IB. In IB the UITableView's delegate and dataSource are both set to my derivation of UITableViewController. This class has been added using XCode's templates for UITabl...

In PHP, how do I add 3 months to the purchase date retrieved from the iPhone InApp receipt?

After I have validated the receipt against the App Store from my PHP server, the App Store sends me back a JSON response with "status" : 0 "receipt" : ( .... ) One of the receipt items is "purchase_date" which contains the following string (example) "2010-02-09 19:17:04 Etc/GMT" I'm trying to establish a subscription service and wou...