iphone

Strange failure of iPhone in-app purchase in sandbox - no NSError!

After searching through this forum and online for hours, I can't find an answer to the problem I'm having. Here's the basic scenario: Trying to make an in-app purchase in my app in the sandbox environment always fails. Getting the list of available products through SKProductsRequest works fine .. I get an array of valid SKProduct obje...

Getting in-app email's subject and message

I've added in-app e-mailing with the MFMailComposeViewController class and it is working well. I'd like to save what the user enters for the Subject and Message and reload this information the next time the user launches in-app email on the chance they want to re-use their Subject or Message. I haven't found any methods to save this da...

Update UITableViewCell when lazy image is done downloading...

I am having some issues with updating my UITableViewCells after asynchronously downloading the cell image. I am using custom UITableViewCells like so: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"productCell"; MainTableViewCell *cell ...

dealloc method is calling three time, during the runtime.

I'm developing an iphone application and i have small problem on it. I'm using popup caller methods into my appdelegate.m file bellow like that -(void)OpenInfo{ InfoDetail *detail = [[InfoDetail alloc] initWithNibName:@"InfoDetail" bundle:nil]; self.infoDetail = detail; [detail release]; [window addSubview:detail.view]; ...

Sending user to view from search results

I'd like to implement a search into my app. I'm planning to use a left swipe, like the Spotlight search. Would that violate anything with Apple? My app is tableview based. The user can drill down a few levels before reaching a detail view. I'm considering two options for implementing the search: 1.) From the search results, I displa...

How can I access What's Playing on the iPhone

I feel like I have come across something before to do this, but can't find it again. How do I access what's playing? Not so much the audio, more the information like Artist and Title. ...

Has anyone ported Xerces C++ and Xalan C++ to iPhoneOS?

I am looking for iPhoneOS libraries for Apache's Xerces C++ and Xalan C++. Has anyone ported Xerces C++ and Xalan C++ to iPhoneOS? Any help or tips are appreciated. ...

Trying to reload my parentViewController's data but failing

Trying to [self.parentViewController.tableView reloadData] from a save: method in my DetailViewController but getting my favorite error: request for member 'tableView' in something not a structure or union. Included the header for my RootViewController and casted the parentViewController as a RootViewController to no avail. What have ...

Getting an iPhone app communicating with an Adobe Air desktop app

I am creating a desktop version of an iPhone app and would like to have some sort of sync option. The desktop version of the app is an Air app. I know that I can have them communicate by: Starting a server on the desktop or the phone Ask the user to enter the IP of the device into the other one Make GET and POST requests over the htt...

Objective-C: navigationController pushViewController & NIBs

Hi guys, I have some issues with pushViewController. Essentially so far I have a class (UIViewController) that is essentially a UITableView (i have delegates for UITable) and it shows the UITable fine. Now I want this to be a hierarchical table that goes down to another controller... Problem is, prior to me making this change, the NIB ...

Need advise about detect cache Image on Iphone

now i implement download image function so how did i know that image is already load and get it from memory? ...

iPhone Dev: UIWebView baseUrl to resources in Documents folder not App bundle

Hi everyone, Greetings! Can anyone please kindly assist me finding a way around the following: load an html into a UIWebView using loadHTMLString and include(using baseURL) the resources such as the CSS, image files from folders within user's Documents directory - and not from the MainBundle of the application. I have seen tutorial...

NSMutableDictionary setobject giving "message sent to deallocated instance" error

This line of code: [mymutabledict setObject:myclassobj forKey:myclassobj.myidstring]; Is giving this error: *** -[NSCFString hash]: message sent to deallocated instance 0x3c14610 I put in a breakpoint on that line and I've checked and all 3 objects (mymutabledict, myclassobj, and myclassobj.myidstring) are correctly allocated and ...

Where to start learning open-gl es

Hi everybody, I decide to learn OPEN-GL ES for IPHONE development, but I know nothing about graphics programing. So I've some questions. 1 I know OPEN-GL ES is a series of open standard API. IPHONE still use these standard API or apple define it's own API for OPENGL ES? 2 Before I start to learn OPEN-GL ES, I think I should be familiar...

scroll image using UIscrollview

i looked at the example from the iphone dev: http://developer.apple.com/iphone/library/samplecode/Scrolling/index.html everything looks cool except that for 5 image they set the "const NSUInteger kNumImages = 5;" what happens is that what if i have 1000 images?and i wan to view it without having to change the number everytime?also if ...

iPhone: Native App with Locally Stored Webapp?

Is it possible to write a webapp, then embed it in a native app so it can be launched without data and sold through the app store? The Pre makes it easy to reference files in the local file structure, so it's very easy to build a webapp (HTML, CSS and Javascript) and embed it into a native app. Is it possible to take the same plain H...

Problem with smoke bubble in cocos2d.

I am having a problem. When the smokeMoveBy action starts a small smoke bubble is spotted on the screen at other place then the moving path of the smoke. This is only happening when I am using scaleX and scaleY. The method smokeLoop is being called at each 1 seconds in the scheduler. Here self is a layer. Any solutions? My code follows...

MPMoviePlayerController seems to make 2 calls for each movie

I seem to have an issue where an iphone app using the MPMoviePlayerController seems to make 2 calls to the server for each video it wants to play back. This occurs with iphone 3.x OS and libraries but not with iphone 2.x. I know that iphone does progressive download and will make multiple 206 requests, etc. but as far as our back end is...

Iphone http streaming video problem

Hi everyone When our application play new url of http streaming video , mpmovieplayer show previous image of video during loading new video from new url . In detail , it show last part of previous video then show first part of previous that video again ( all captured image ) then it plays new url http streaming . We need your advice ...

Volume bar is in 0 position , but there is sound when start playing http streaming video of iphone

Hi When we start play streaming video via url via mpmovieplayer , wolume bar is in 0 position , but there is sound when start playing http streaming video . Pls advice us how to solve this . Thanks ! ...