ipad

PhoneGap: It's possible to use only the phonegap.js and it's functions only in a Website (doesn't want an App only a Webpage)?

It seems that I haven't understood correctly how PhoneGap works. I thought: Take an index.html, include the PhoneGap.js in as type of JavaScript and open the result on iPad/iPhone. But then, none of the functions like accelerometer, beep(), vibrate() is working. Is it necessary to build an app for that for working correctly? I have a ...

How do you disable the background view?

Hello friends, I want to make my background view disable on button click event or any other event like as UIAlertView view comes which makes background view Non Active. How to do that? please help. Thanks in advance. ...

Ipad: Problem With Popover Controller positioning when keyboard gets dismissed.

i solved the problem by calling presentPopoverFromRect function when the back button is pressed. ...

Navigation bar and top margin

Hi everyone I have an issue with a UINavigationBar and its y-offset. The bar is displayed without a UINavigationController as superview, yet that should not matter. In the viewController where the navigation bar appears the setup looks like this: // Add Basic View CGRect viewFrame = [[UIScreen mainScreen] applicationFrame]; ...

How can I resize a split view on an iPad app?

I am trying to have a SplitView pop up on top of the current view but I don't want it to cover the whole screen so that the user doesn't feel he/she is taken elsewhere. I would imagine that the size can be specified from Interface Builder, but there are no size options on a UISplitViewController, and I can't seem to put it into another ...

Drawing a bezier from multiple points

I have a set with 50 points in x,y. I need to draw the smoothest bezier that passes in all points, or in other words, the bezier that will best fit the points. How do I do that? thanks ...

Why does this code example on Apple's dev site declare three interfaces for the same class?

I'm diving into iOS development while trying to grasp Objective-C and I'm still in that phase where, ever where I look, I see things that don't make any sense to a veteran C programmer like myself. In this Game Kit example on Apple's dev site, one of the header files declares a class interface, three different times... @interface Sessi...

Initial View over Split View Based Application

Hey guys, I'm trying to add an initial view to a split view based application. I want the user to press a button on the initial view to navigate to the split view. However, I'm rather clueless on how to accomplish this. Any ideas/tips? Thanks ...

Problem opening a page in different UIWebViews using Javascript

I have an ipad app, with the majority of the functionality being a web application. The UI is just three UIWebViews that load the pages. Every link that is clicked is intercepted, and I have a request variable in the URL called "iPadTarget." EX: http://www.somedomain.com/blah.asp?iPadTarget=2 The above code would open in the second we...

UISplitViewControllerDelegate methods not getting called during rotation while modal view controller visible

Our iPad app has a view / view controller hierarchy laid out a little like this: rootViewController | | | a UISplitViewController | | | | | | | tableViewController1 tableViewController2 (implements UISplitViewControllerDelegate) The rootViewController adds and rem...

How should I initialize an array that's a member of a UITableViewController?

The data source for my table view is a plain NSMutableArray that will be populated as the app runs, but will be empty when the Table View first loads. The class interface looks like this... @interface ViewController_iPhone : UITableViewController { NSMutableArray *serverList; } @property (retain, readonly) NSMutableArray *serve...

Implementing CATiledLayer on a UIWebView for fast scrolling

I have a big webview in my iPad app and scrolling performance seems to be a big issue, especially the first time you browse the webview. In mobile Safari, the scrolling is extremely smooth and the page simply appears as a transparent checkerboard pattern and loads in as it comes into view. From what I've read, the way to handle this is u...

How do you get / invite beta testers for your iPhone / iPad app?

How do you get / invite beta testers for your iPhone / iPad app? ...

Universal iPhone/iPad appDelegates

When creating a new project (universal iPhone/iPad) using Core Data, there's the usual appDelegate which creates the ManagedObject Model/Context etc., then there are the two subclasses of the appDelegate (one for each device). I can't seem to call the moc from the subclasses (using [super managedObjectContext]). Could someone enlighten m...

Resizing UITableViewCell content width automatically

I have some code that creates a table cell with a slider. It's pretty straightforward and it sizes well on the iPhone. I've anonymized it a bit here: UITableViewCell* cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"Foo"] autorelease]; cell.selectionStyle = UITableViewCellSelectionStyleNone; C...

Why iPad can't hide Status Bar from splash?

Greetings everyone! I'm curious about what could solve this. I'm working on an universal app, on my iPod Touch and iPhone the status bar hides from the start of the splash image animation. However, on the iPad it only hides until the splash image is gone. This is what i have in my AppDelegate: - (void)applicationDidFinishLaunching:(UI...

How to best create this simple grid view on iPad?

I would like to recreate the interface below that allows the user to select a number by tapping a cell. What do you think is the simplest way to implement this? A UITableViewCell that has subviews added? A UIWebView containing an HTML table? Custom UIButtons? Thank you! //Scott ...

Universal Build in iphone & ipaddoubt ?

I want to run My iphone App in iPad without Pressing 2X Button. When I follow the following steps, I could not run My App in iPad simulator without using 2x... Open the Xcode project for your existing iPhone application. Select the target for your iPhone application. Select Project > Upgrade Current Target for iPad and follow the promp...

Can we use the UIPicker directly in an iPad Application?

Can we use the UIPicker directly in an Pad Application? I tried to show a Pickerview. But I felt it very small in size compared to the iPad Dimension. I was also not able to increase its height and width. ...

Programmatically display iPhone/iPad UDID

I have an iPad app in which I get the device's UDID by the following code in the viewDidLoad method. uid = [[UIDevice currentDevice] uniqueIdentifier]; uid = [uid stringByReplacingOccurrencesOfString:@"-" withString:@""]; I wanted to remove the dashes in the string. Later, in another method call, I try to access this uid string (whic...