ipad

VGA-output for iPad

Hello Guys, I am a newbie I am making an iPad game and I just bought the VGA-output cable provided by apple. I want my game to be VGA-output supported but I dont have any idea how to do it. I have used cocos2D to create my game. How can I make my game VGA-output supported (I couldn't find and information in the forums)? What piece of c...

drawRect (+setNeedsRedisplay) fills wil unwanted color, slowing iPad down

My iPad application is very simple: There's a Window, with a child View of class ContextView (my own) ContextView's background (as definied in Interface Builder) has a green background, and is Opaque. Clear Context Before Drawing is off (for both Window and UIView.) CADisplayLink selector calls setNeedsDisplay once a frame update. The ...

Memory warnings/crashing with PhoneGap iPad app

Hello, I've tried several approaches to make a one-page native app using Phonegap, and am seeking some general advice on troubleshooting. First approach: It's basically a bunch of different pages and sub-pages loaded with jquery into containers that live on the index page. So, no page loads, just loading page fragments from pages in...

If I override a class method, is there a way I can call the original method (the one that was overridden)?

In Objective-C, if I override a class method using a category, is there a way I can call the original method (the one that was overridden)? ...

Does Bluetooth p2p connectivity work on iPhone simulator?

Does Bluetooth p2p connectivity work on iPhone simulator? I want to test GameKit connection over bluetooth with an iPad but have only one physical device. ...

PDF Quartz Rendering quality

On the iPad, I need to render a large pdf (more than 1gb). For this I use Quartz. Now everything works fine except the quality of included pdf in my pdf. An image will explain everything. This is the pdf document: http://dl.dropbox.com/u/5809971/PDFRender/book.pdf This is the ipad rendering (simulator and device are identical): http:...

How can I save a Bitmap Image, represented by a CGContextRef, to the iPhone's hard drive?

I have a little sketch program that I've managed to throw together using Quartz2D, but I'm very new to the iOS platform and I'm having trouble figuring out how to allow the user to save their sketch. I have a CGContextRef that contains the sketch, how can I save it so that it can later be retrieved? Once it's saved, how can I retrieve ...

Creating a magazine issue model to sell via in-app purchase

We have developed a magazine style app for a client. Even though we're pretty happy about it we want to migrate to a in-app purchase version ASAP. The idea is to have an app much like Wired or Popular Science where you can purchase issues on a monthly basis. We have read the in-app purchase programming guide, but the problem we're havi...

How do I edit iPad-specific XIB after upgrading project to Universal

I have an app project that I upgraded to a Universal App for the iPad. XCode created a Resources-iPad folder and duplicated my .xib file in there with the -iPad tacked onto the file name. That's all well and good. But when I edit that XIB it doesn't seem to understand this is an iPad XIB. For instance, the Window object is 320x480 an...

2 tableview on a single view

Hi there I need an example or explanations of how to populate 2 table views which are on the same view. I need to understand the "cellForRowAtIndexPath" method, could someone provide me an example on how should the code be? I mean how to identify which goes which table view? Thanks Below is my cellForRowAtIndexPath method: // Custo...

Universal app iPad version IBAction throwing NSInvalidArgumentException unrecognized selector

For some reason I cannot figure out I have an IBAction code wired up to fire on the touchupinside for a UIButton on a view using Interface Builder. Simple stuff right?? Well it works fine in my iphone version but for some reason I keep getting the following error when I click on the button in the iPad even though I have it wired up pro...

iPad tab bar app not autorotating

I made a tab bar application, but it will not rotate into landscape. I have the 'shouldAutoRotate' set to "return YES" but that doesn't work... Any suggestions? ...

How can I measure network traffic?

For example as Download Meter app does. Can I track packages dispatched? Does iOS a traffic tracking system that I can poll somewhere? ...

MKMapview memory problem.Zooming-scrolling

Hello everyone, I am developing a mapview application.When i look to instruments i see no leak in my application which is good.But my problem is whenever user scrolls,zooms in,zooms out the map,default mapview starts to allocate memories of MBs.When my application reaches about 25-30 mb then map releases some data which is about 5-6 mb s...

what does _serverConnectionDiedNotification mean?

_serverConnectionDiedNotification. Info -- notification=NSConcreteNotification 0xd931a30 {name = AVController_ServerConnectionDiedNotification; object = <AVController: 0xce7e340>}, AVController = <AVController: 0xce7e340>, currentTime = 2189.59 when i play a movie with movieplayercontroller,i get a black screen,and find this notif...

How to make a UITable to highlight its 5th row when we start the app?

I am using a splitviewcontroller. When I select something in the table the row is highlighted and it is shown in the detailed view. I have also provided an option to change the contents in the detailed view by scrolling. When I start I want the the 5th row to be highlighted by itself, how can I do it? ...

iPhone: Adding Info button as right bar button item in navigation bar in code.

Has anyone had any success creating an info button (italic 'i' in a circle) in code (read: without Interface Builder), and then assigning it as the right bar button item of a navigation bar? I've looked everywhere, and I can't even find how to create an info button in code. Any help would be greatly appreciated. ...

2 UIAlertView one after the other

Hi, I have an 2 UIAlert which is displayed I press on a button. I want the 2nd alert to be visible only when the first UIAlert is dismissed that is when we have pressed the first OK button. How should I proceed please? Below is my code: - (IBAction)button:(id)sender { UIAlertView *view; view = [[UIAlertView alloc] initWithTitle: ...

USB communcation on jailbroken ipad

Hi all, I would like to build a controller for a robot which would communicate through USB to an iPad. However I don't have an iPad yet as I don't if it is ever possible to build such software (even with jailbreak). So I have a few questions for those iPad owners: In a jailbroken iPad is it possible to use iokit for usb communication th...

Change iBook Dictionary ?

Hi .. is there any way to change iBook dictionary ? any language instead of English ? ...