ipad

Leak problem with NSKeyedUnarchiver

here I have some code where the Leaks-Instrument detects leaks. The commented Numbers behind some lines taken out from the Leaks-Instrument. I don't know what I have to do here. I have made many tries, have released and autoreleased, but no solution. Can somebody show me where the problem is? - (void) handleDataModel { int theTag = [...

launch 3rd party application from native iPhone apps

hi friends, i have to do one application that application should be launch from the iPhone native applications like calendar, contacts and mail box etc... is it possible to launch 3rd party application from the native app, whether apple allows the developer to do this. Thanks in advance... ...

How to diagnose EXC_BREAKPOINT (SIGTRAP) crash in iPad iPhone app?

I am getting a crash with an iPad app that is (at least to me) non-specific. It's an Exception Type: EXC_BREAKPOINT. I am thinking a double memory release or attempting to access a released variable but I hoping someone can shed more light as I hunt through the code. The full crash log is: Exception Type: EXC_BREAKPOINT (SIGTRAP) Ex...

Can in-app purchases be "gifted"? iphone / ipad sdk

Does anyone know if in-app purchase can be gifted? ...

Play a local video from iPad in an HTML 5 webpage

Hi, Does anyone know if you can use the HTML5 video tag to play a video from the iPad library? Something like: <source src="/local/path/video.mp4" type="video/mp4" /> Thanks for your time ...

iPhone URL encoding Problem

Hello stackoverflow, Have a slight problem. Trying to post XML to a server. To do this, I have to encode the XML string in URL format. NSString *encodedString = [NSString stringWithFormat:@"xmlValue=%@",[post stringByAddingPercentEscapesUsingEncoding: NSASCIIStringEncoding]]; That's what I have and it works for all the characters E...

ipad memory issue loading images in UIWebView

Hi, I've got an issue similar to this one: http://stackoverflow.com/questions/2986039/ipad-iphone-browser-crashing-when-loading-images-in-javascript ... but I'd like to clarify that my issue is caused by the same memory issue, and if so, what I can do about it. I understand the proposed workaround of loading "tiny.gif" images for img ...

Ways to collect a physical signature with a web site on iOS

I'm looking to fill out a form from a web page that will include a box to collect a physical signature, on an iPad or iPhone. Think of a repair visit acknowledgment form, where after the technician does some work they can fill out things on the form on the website, and then hand the iPad to the customer to sign (using a stylus) What kind...

Custom popover for iPad/iPhone

In the iBooks application, the brightness, font and search views subclass UIPopOverController but without border. Is there any way to mimic those views? ...

xcode iphone bluetooth chat between device

I want to know if there is a framework or method/technique that will allow me to write an iphone/ipad that will allow one device to act as a "Leader" and the other devices as "Followers" in a shared book reading. For example: Device 1: Leader Device 2: Follower Device 1: opens an book app and turns to page 11 Device 2: opens the same ...

What's the difference between void* and id?

Possible Duplicate: objective c difference between id and void * For example, an UIView animation delegate callback method has this argument: context:(void*)context Why not simply id? I always pass nil if I don't care about an context. But when I want one, I pass the object. What's the difference? Why did they prefer void* ...

UITableView - don't unload cells when they go off screen

My tableView consists of 5-10 cells, each of which contains a scrollview of images. The problem is that when a cell goes off screen, it removes all the images and then reloads them when the cell comes back on screen. I know this is done for performance reasons, but in this case it just looks bad. Is there a way to prevent the unloading o...

Overpersistent files on the iPad

I copy some text files from a server to the NSDocumentDirectory on the iPad. One of the files has a .sql extension. They all store correctly and everything works OK, except there's one puzzling thing: When I delete the application from the iPad (make it wiggle and hit the X), all the existing files get deleted (as I'd expect) except fo...

How to open view with each image on openFlow api, in the ipad?

i follow the instruction of this tutorial how to add coverflow effect on your iphone app openflow i used the last version of openFlow(http://github.com/tupps/OpenFlow) and works great, but What I need is make each image as button or menu and when i click it, this will open another view, but so far I can't do that . Any clues or tip...

Edit my signature in PDF file in my iPad application

In my iPad application I want to add signature in my pdf file. I already do perform following steps: Open pdf in UIView (zooming is not implemented yet). Add one transparent subview (UIImageView) and draw signature on that. Save all screen using UIGraphicsGetImageFromCurrentImageContext() as a image. Convert and save the image as a ...

Is this a mal-formed http request from an iPad, which kills Node.js multipart parser

The below code is used in an iPad app to send an HTTP request to a Node.js web server, which produces the following error, but works fine w/ a regular HTML+browser form. The server is Node.js + formidable which has a multipart parser that only dies on this line of code with this error: message: parser error, 0 of 29162 bytes pars...

identify the User.

Hi, I want to make an application that has some views for information display. Now if i install that app in iPhone then it should display the info. Now if i install that app in my iPad then the app should recognize device and display the info related to my account only. Now is there any way to find the single user of two devices wit...

tranisition from iphone to ipad nibs

hello, i am wondering how its possible to have an iphone nib that has some uitextfields and some labels to be automatically repotitioned if the device is an ipad. (i dont want a second nib) im trying to get my iphone nib to autoresize in the middle of the screen if the device is an ipad so that all the text fields and buttons arent place...

What happens if the callback of CADisplayLink can't keep up with the display refresh rate?

I've implemented an CADisplayLink callback to perform an heavy animation on screen. However, it seems that sometimes a frame is dropped or just not drawn. I'm not sure. Don't have a highspeed camera at hand to record it. But maybe someone knows in depth what happens if my callback is calculating too long? Will the callback not be called...

Tips for optimizing performance when using tons of CALayer objects?

My app architecture / hierarchy looks like this: UIView UIView CALayer | CALayer | CALayer | CALayer .... (and a few hundred more) These CALayer instances represent small square dots in a dot matrix display for an fast countdown clock. I'm updating their backgroundColor as often per second as possible. Actually what I want is 60 times...