ipad

How to devide a UIWebView into multiple pages (like iBooks)

I am trying to build an application in which I need to divide the webpage into multiple pages. These pages will then be shown as the pages in a book, like the iBooks animation. First problem to tackle is to divide the webpage into multiple pages and able to view it separately. Any inputs will be helpful. ...

Why am I getting a write error when copying a Core Data database between iPhone and iPad?

In my app I create and use a normal persistent store: - (NSPersistentStoreCoordinator *) persistentStoreCoordinator { // D_IN; if (persistentStoreCoordinator != nil) { return persistentStoreCoordinator; } persistentStoreCoordinator = [[NSPersistentStoreCoordinator alloc] initWithManagedObjectModel: [self mana...

Keyboard hide in iPad don't work

Hi. I have many views and the problem appears in all of them. I have 'n' UITextField's in a UIView, I implement the UITextFieldDelegate method to hide the keyboard when the user press the "Done" button like this: - (BOOL)textFieldShouldReturn:(UITextField *)textField { [textField resignFirstResponder]; return YES; } Nothing s...

iPad touch events on <video> tag

Hi, I'm building a javascript-powered gallery on the iPad that can display both images and video. To browse the gallery, you can swipe left or right (similar to the iPad's Photo application). However, none of my touch events work when swiping over a <video> element. It seems to take over my touch events, even on elements that may have a...

What's the simplest way to make all my controls in my root UIView scroll?

Hello. I have a ViewController that manages a view full of controls, including UITextViews, UIButtons, and a drawing view. It's far more than I can fit on the screen, but I'd like my design to have it all in one place and make the root view scrollable. I've become very spoiled with Interface Builder automating much of the coding work ...

Can't hear System Sound in simulator or on device

Hi all, I can't seem to get the AudioServices sounds to play, either on the device or in the simulator. Here is my code: NSString *sndPath = [[NSBundle mainBundle] pathForResource:@"click" ofType:@"aiff"]; SystemSoundID soundID; AudioServicesCreateSystemSoundID((CFURLRef)[NSURL fileURLWithPath:sndPath], &soundID); AudioServicesPlaySyst...

How to show Book Opening and loading animation as in iBooks?

I am trying to show a book opening animation as in iBooks. Any inputs will be helpful. ...

iPad custom table cell help

Hello all, I am trying to insert an image into a table cell based off a person search in our company directory. This is pretty easy to do, but the problem is some people do not have pictures so it is throwing their alignment off. Is there any way to have the cell keep that place blank if they don't have a picture, and not slide the t...

UIView parent window's frame and bound dimensions while rotating iPad

I a have a following line of code invoked after a touch gesture has completed: CGRect parentBounds = self.view.bounds; CGRect parentFrame = self.view.frame; when iPad is placed in a vertical way both parentFrame and parentBounds have similar dimensions of w:768 h:1004 (or something close to that), but when I rotate parentBounds is 102...

Is there any way to stop a user from scrolling whole webpage up/down on the ipad, but still allow them to pinch to zoom in/out? JQUERY

I am using function BlockMove(event) { event.preventDefault(); } & <body ontouchmove="BlockMove(event);"> This is making my page unscrollable, which is perfect. It stays in place. But I need the user to be able to zoom into an image on my page.. Any help would be great ...

How do I compose a subview of the root view in Interface Builder?

Hello. I'm trying to create a view that's full of controls (buttons, text views, labels, etc.) that can scroll, since I don't have enough screen space for all the controls. I understand that I need the root view in my application to be a UIScrollView and I need to attach to that a UIView with all my controls in it. The problem is, aft...

Accelerometer works on IPhone but not IPad...help?

Hi everyone . iam trying to shake device with Accelerometer (NOT SHAKE API) because i have a problem with shake api . but idon't know why my code doesn't work on iPad !!! : viewDidLoad: [[UIAccelerometer sharedAccelerometer] setUpdateInterval:(1.0 / 40)]; [[UIAccelerometer sharedAccelerometer] setDelegate:self]; As a method : - (voi...

Avoid UITableViewCell moving when toggling between editing mode

Alright, I have some weird behavior and this question goes to the people out there that got that issue already. I have 4 different subclasses of UITableViewCells. They are all very similar (I can't see the differences that would bring the problem up). Now my UITableView's delegate have the following code: - (UITableViewCellEditingStyl...

Using UIPanGestureRecognizer and CATransform3DScale to enlarge dragged element

I want to implement a delayed 'enlarging' animation on an UIView that is being dragged using an attached UIPanGestureRecognizer. I've been using something similar to the following code: UIView* innerView; CGPoint startingPoint; - (void)viewDidLoad { innerView = [[[UIView alloc] autorelease] initWithFrame:CGRectMake(0, 0, 200, ...

Type of iPhone/iPad/iOS application - modal view, tabbed, other?

Hi - I'm making my first iOS application to be run specifically on an iPad as part of my final year project at University. I've been experimenting with the different types of applications and I'm stuck wondering what would be the best type for my application - the application is to quote for a service offered by a local business, they ...

How to convert .caf to .mp3 file programmatically on the iPhone or iPad?

Hi, is there a way to programmatically convert .caf audio files to .mp3 audio files on the iPad platform? ...

Universal app iPad / iPhone with seperate recources?

i have build an universal app i have assets that are for both but i have a couple assets ( embeded movie's ) that are only for iphone or only for ipad. is there a possibility to make 2 builds 1 for iphone and 1 for ipad so that the iphone app doesn't grow to large? ...

50% Transparent background of Navigation Buttons, Segment buttons in iPad and iPhone

Is there a way to customize navigation button, segment button background like iBooks? Check out iBooks shelf top left corner. the button background is about 50% transparent. What a pretty! Any one konw how to emplement it? All Regards ...

iPad netservice with more devices

Heey I want to make a netservice where more ipads can connect to at the same time. I made a one 1 iPad open a NSNetservice and open the in- and outputstream. I started a netservice on iPad A, When connecting with iPad B to iPad A this just works fine. But when iPad C tries to connect the following happens: - Tries to resolve the NSN...

User interaction is disabled when run app on iPad, working fine for iPhone.

My application is running perfectly on iPhone (all version 3.0 - 4.0), but when I run the app on iPad (3.2) app is running but I'm not able to make any user interaction, even the 2x button is also not working. Please help me. ...