ipad

How to handle drag events on iphone and ipad with javascript/jquery?

Hey, I have a little app that has been under development for some time. My friends and I have been working really hard on this and are near release of the beta version. I want to give some demos using iPhone and iPad to look cool :p Now my problem is how to handle: Mouse Down Mouse Up Mouse Leave The multitouch interface of the iP...

Using Core Text for input

I'd like to make a rich text type editor using Core Text (ideally for iPad but I'm pretty sure I can't get iPad specific examples due to the NDA) I have no idea really where to start. I'd like to keep the interaction models without having to rewrite them, so would I be layering stuff on top of a text view? Then how do I keep the overlay...

Building iPhone apps for the iPad

I searched first, so apologies if it's already been asked. I have a couple iPhone apps that I want to run as native iPad apps rather than in "mini-mode" for lack of a better term. What do I need to change to build my app for the iPad and is it easy to target both platforms from the same project? ...

SQLLite Code works on iPhone simulator, crashes on iPad

This code works fine on the iPhone and the iPhone simulator, but crashes the simulator when running on the iPad: const char *createsql = [MYClass GetDBCreationString]; sqlite3_stmt *crts; if (sqlite3_prepare_v2(database, createsql, -1, &crts, NULL) == SQLITE_OK) { int success = sqlite3_step(crts); if (success != SQLITE_DONE) { ...

Add drop shadow to PNG using Cocoa

I have some PNGs with transparent backgrounds that I would like to add shadows to programatically. I've seen examples of adding shadows to square objects, but haven't seen any with complex shapes. So the two steps I think I'd have to do would be: Isolate the PNG shape Draw a shape behind the PNG that is blurred, faded, and offset. I...

How to setup 2 iPhone SDKs on one Mac

Based on your past experience, will two iPhone SDKs co-exist on a single mac? For example, one that is in beta and one that is released. I am planning to just copy an existing SDK to a different folder before installing a new one - would appreciate any prior warnings! ...

Grid View as demoed in iPad

I'm trying to develop a grid-like application for the iPad. Has anyone seen a control that displays info in a grid? In the demos they use a grid-like layout in both the iBooks store and the pictures application. Specifically in pictures, they are displaying a dynamic list of data in a grid. I can work around it, of course, but I'd ra...

Question about making a book like the contacts book on the iPad

For any of you out there who have had a chance to download the iPhone 3.2 sdk and play around with the simulator knows that one of the apps built in is a contacts book. When you open this app up it looks like a book, and has a nice user friendly way to edit and view contacts. So if I wanted to make an app that uses a similar format, mean...

If I have iPhone SDK 3.2 is there any way I can use 3.1.3

The current 3.2 SDK doesn't seem to contain 3.1.3 - how do I get it to work? ...

iPad / iPhone Sync (WLAN or Inet)

I have actually one app with a SQLite DB and i port this at the moment to the ipad. My idea is a sync between iPad and iPhone for one table... But the Problem is "Person A" edit/change, create or delete a data record on iphone and "Person B" make the same or delete the edited record from Person A on the same time. Has anybody a idea for...

Question about using landscape mode with custom images on the iPhone/iPad

Hey I just had a simple question about implementing landscape mode for an app, particularly running on the iPad (but I am sure the concept holds true for the iPhone). I have a custom background image that I am wanting to use for my root view. I designed the image so that it fits the iPad screen size for portrait mode. Do I need to design...

iPhone app runs on iPad simulator, but the background is inverted!!

Hi all, i've installed new sdk 3.2 pre-release wich have iPad simulator, i have tried to launch an iPhone app created by me in iPad simulator; the main view of this app has an image as background; when launch it on iPad simulator this background(self.background = [[UImage..... ) it comes inverted, from top to bottom. Any idea?? thanks ...

Using MPMoviePlayerViewController in SDK 3.2 for iPad

I've developed an iPhone app that has been running MPMoviePlayer (pre 3.2 SDK) with no problems. I know this is a newbie question, but how do I get a movie to play in the new MPMoviePlayerViewController. I am only getting audio and wish to learn the new view controller. I've ported my whole app over to iPad and everything else works f...

In app purchase subscription vs consumable

I'm making an app which will allow the user to purchase either a subscription or consumable which allows them to access data on a monthly basis. Once the new data for the next month is available they will download that and the previous data is invalid and actually illegal to use so it will be removed. So I'm not sure which to choose. A s...

Partialy clip subviews

I am trying to get a UIView to clip to subviews but not entirely. I mean like an alpha change, outside the bounds Edit: I want this to be like the keynote mask feature for an image in the iPad. ...

Is the latest iPhone SDK 3.2 BETA all in one ?

hi all , I am developing an iPhone application . I have tested it on iPhone simulator and device through the current which includes xcode 3.1.4. Currently apple launches iPad to its touch devices . They are telling that all current iPhone applcations can run on iPad as well. So my question is that if I want test my app on iPad as we...

How to fill a the area between an upper and lower boundary curve on a scatter plot

I have a chart that has a single line that I would like to put a boundary cone on. I can plot the two lines for the upper and lower boundary values - but I'd like to shade the area between the two boundary lines. How can I do this? / Can I do this? ...

iPad - Resizing a modal UIViewController

I am trying to display a login screen using presentModalViewController on iPad. LoginFormController *controller = [[[LoginFormController alloc] initWithNibName:@"LoginFormView" bundle:nil] autorelease]; [controller setModalTransitionStyle:UIModalTransitionStyleFlipHorizontal]; [controller setModalPresentationStyle:UIModalPresentationFor...

Cocoa touch view with multiple identical subviews

I'm having my first foray into Cocoa Touch programming (and one of my first into Cocoa in general) and writing a simple game for the iPhone, though this question is about cocoa touch in general. The main UI consists of a strip of identical acting buttons (only varying in colour) arranged horizontally across the screen. Although they act...

iphone certain PDFs rendering as black image

I'm trying to draw the pages of a PDF using the code below. Some PDF's render correctly, but others simply show as a completely black image, or have partial portions rendered and the rest black. In comparing what's going on, the ones that show OK seem to have always have "regular" text in them along with some graphics (diagrams, etc.),...