ipad

how to test gesture applicaion in ipad using key board.

i dont have device so how can i test double finger touch for rotation and pinch? ...

CFBundleDocumentTypes and iPad camera connection kit (SD reader)

I am trying to register a custom document type in an iPad app, with the hopes that I can be prompted to work with files on an SD card attached to the iPad through the camera connection kit. Does anyone know if this is currently possible (or even for sure if it's not possible)? I was hoping that the Camera tab in Photos would use a docu...

Why won't my CATiledLayer scroll in a UIScrollView after zooming?

I'm currently having the following problem with CATiledLayer: when the view first loads, the scrolling works perfectly, but then when you zoom once, the view snaps to the anchor point (top left corner) and it can no longer scroll at all. The zooming works in that it will zoom in and out, but it will only zoom to the top left corner. My ...

Get current orientation of iPad?

In a given event handler (not the "shouldAutorotateToInterfaceOrientation" method) how do I detect the current iPad orientation? I have a text field I have to animate up (when keyboard appears) in the Landscape view, but not in the portrait view and want to know which orientation I'm in to see if the animation is necessary. ...

Nesting UISplitViewController within UINavigationController

I would like to have a root level controller that appears to be a splitview but I would also like to allow the detail view to essentially take over the entire screen (in both landscape and portrait orientation) - and not as a modal view. By way of context, my iPad app shows the user a list of experiments (collections of data sampled fro...

iPad: Event handler for "Next"/"Enter" key?

How do you catch the "Enter" key event on a UITextFIeld on the iPad? ...

Reusable calendar popup like iCalendar/scheduler on iPad? Not a date picker wheel.

I need a date picker that shows an actual calendar (similar to the built-in calendar feature on the iPad.) Is there a reusuable widget? How could I easily implement one? The date picker wheel is terrible because it doesn't show you the day of the week (Sun, Mon, Tue...) and isn't really needed on the iPad where you have enough room to...

iPad and UIPickerView (or UIDatePickerView)

Hey all, Has anyone had any luck using a UIPicker in the 3.2 SDK? I'm in the middle of porting an iPhone application over to an iPad and that's the one thing I can't seem to get to work. I've tried... -Creating an action sheet, add the picker as a subview and displaying it. -Creating that above action sheet, making it the view of a ge...

iPad doesn't trigger resize event going from vertical to horizontal?

Has anyone noticed this behavior? I'm trying to write a script that will trigger upon a resize. It works fine on normal browsers, works fine on iPhone, but on iPad, will only trigger going from horizontal to vertical viewport, not vice versa. Here's the code: $(window).resize( function() { var agent=navigator.userAgent.toLowerCase...

iPad UIViewController loads as portrait when device is in landscape

I have an application with 3 view controllers. They are all have shouldAutoRotateToInterfaceOrientation returning YES. The first two, my main menu and my submenu both autorotate just fine. The third viewcontroller, which programatically loads a UIImageView from a jpg file in the program's bundle, will only display in portrait. In the...

UITableViewController truncating section header title

I've got an iPad app with a UITableViewController. I am setting the header titles for my table sections using - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section When the table loads, if I scroll down too quickly, when a section header appears on screen it will be truncated to the first letter ...

Is it possible to force ignore the :hover pseudoclass for iPhone/iPad users?

I have some css menus on my site that expand with :hover (without js) This works in a semi-broken way on iDevices, for example a tap will activate the :hover rule and expand the menu, but then tapping elsewhere doesn't remove the :hover. Also if there is a link inside the element that is :hover'ed, you have to tap twice to activate the ...

iPad After drill down in Split View's Master View, Detail View will not load.

Hi, completely new to coding other than html. I have an iPad app based on the MultiDetailsView/SplitView sample in Xcode. I have a master view that drills down and loads new detail views, both at the same time when needed. But when I do drill down the lower views will not load their new detail views. If I change the master 'RootViewContr...

WPF and IPAD\IPHONE

Can WPF Browser application run on IPAD\IPHONE? ...

ipad logo while submitting app

Hi I have to submit my first iPhone app. I have tested it on iPod touch and iPhone. While submitting, is it necessary to add the iPad logo. if yes how to do it. my application is a small utility application...and I have not programmed it keeping iPad GUI guidelines in mind for example it doesn't have the landscape layout. how is it nor...

Creating a multi-page PDF doc

Hi, has anyone already created a PDF document in an iPad app. i see that there are new functions in the UIKit to do this, but I can't find any code example for this. BOOL UIGraphicsBeginPDFContextToFile ( NSString *path, CGRect bounds, NSDictionary *documentInfo ); void UIGraphicsBeginPDFPage ( void ); I found an example...

Custome UITextview

Hello friends. I want to create custom UITextview with Line because i want to create a latter effect. is this possible to set line in particular space in UITextView ? Thanks you, Milan ...

UIImagePickerController presented inside view

Is that possible to present a UIImagePickerController inside a view, instead of using it modal or inside a popover? I have tried this, without success... if ([UIImagePickerController isSourceTypeAvailable: UIImagePickerControllerSourceTypePhotoLibrary]) { UIImagePickerController *picker = [[UIImagePickerController alloc] init...

Adding a view with a view controller as a subview of another view controller. Doesn't work.

I'm trying to essentially re-implement the UISplitViewController (because it has its limits), but when I create a UIViewController viewController, and then do an "[viewController.view addSubview contentViewController.view]" on it, to add a view that already has a view controller, that content view doesn't seem to get initialised by its v...

iPad. UIBarButtonItem has an undocumented view of type UIToolbarTextButton. Huh?

I have an iPad app where I have a view controller that is the UIGestureRecognizerDelegate for a number of UIGestureRecognizers. I have implemented the following method of UIGestureRecognizerDelegate: - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch { // Double tapping anywhere on ...