ipad

HTML APIs for touch devices?

What HTML APIs are available for touch screen devices (e.g. tablet PCs)? I notice that GMail's iPad interface (and other mobile interfaces) doesn't scroll down in a normal web browser (pretending to be an iPad via a user-agent hack). How can one access this API on a PC? I have a school full of tablet PCs that aren't wonderful in tablet...

Core Data iPhone how often should I call [managedObjectContext save:&error] when doing 50k record insert?

I will be doing an occiasional import from XML into core data. I have around 50k entities that will be added. My question is how often should I call [managedObjectContext save:&error]. For every new entity added, or every x entities, or just at the end of the 50k import? I currently am calling it for each entity and tried only doing it ...

[UIScreen applicationFrame] returning incorrect rectangle on landscape application launch (iPhone/iPad)

Having trouble getting the correct bounds for my iPad application when launching it in landscape mode. I have the proper keys set in my Info.plist file, and my view controllers launch properly in landscape (and portrait, natch). In my applicationDidFinishLaunching: method I'm calling a selector after a 3 second delay, and that method ma...

Hide Clock from Status bar

Hello, How to hide only Clock from Status bar. is this possible ? anyone have a idea how can i do. Thanks in advance. ...

Question about A Sketching Website on the IPAD, Dragging and Touching

I've been testing out the new functionality of html5 and js to create a sketching site. I've been looking into this for a possible client that wants their site to be ipad accessible, but also have drawing features on it. So i created a rough experiment where you can drag your mouse across a screen to draw lines. I went to test it on an ...

Why is there a black bar on top of my iPhone/iPad app when I run it on the iPhone simulator?

Whenever I run my iPhone / iPad app in the iPhone simulator, a black bar appears along the top of the screen which I can't seem to get rid of. On the iPad simulator, however, it looks fine and works great. Also tapping one of the buttons seems to cause a white screen to appear instead of the view on the iPhone, while on the iPad it doesn...

Create a Editable Grid View as in iBooks

There have been some similar questions asked regarding Grid views, but none have been sufficiently answered (some have been left unanswered as the SDKs were under NDAs at the time). The question is: Can anyone direct me towards a tutorial, or explain to me what steps to take to create a Grid View similar to iBooks, or the Yahoo! Enterta...

What's your approach to testing iPhone / iPad apps?

When developing for iPhone/iPad do you Do unit/integration/etc testing? What framework(s) do you use? What other framework(s) have you tried (if you decided to not use them, why not?) NOTE This is based on a question asked a few days ago (that has since been heavily edited). Question generated some interesting responses that may ...

Auto-refresh UITableView Help

I am trying to refresh a UITableView with new cells every 30 seconds. My array contains 30 elements, and for every new item I add to my array, I want to remove the last cell in my table. How can I go about doing this? ...

iPad: Show a help popup window?

How do I show a help popup window on the iPad? I want to show a modal popup window that grays out the background similar to the email applications "Compose New Mail" app. ...

Presenting a Popover From a Rect Problem

I have a UITableViewCell that has some labels and images that can be clicked. I want to present a popover whenever a user clicks on any part of the cell. How can I achieve this without interfering with the click actions of the labels & images? I am currently creating an invisible button ontop of some other clickable items in the cell an...

How to perform an action when UITableViewCell is in highlighted state?

Is it possible to perform an action when a UITableViewCell is highlighted? For example I have a UITableViewCell with clickable labels and buttons. I want to display a popover when the cell is highlighted/touched anywhere, so that the popover is shown without any interference with the labels & buttons. ...

How to make the landscape view look same as the portraitView while using a splitViewController?

What I meant is, When we use a UISplitViewController project In portrait mode, whole window will be covered by the view and a popoverController will be presented to navigate to other views. In landscape mode, 40% of the window will be covered by a tableView using which we can change the view/page. And navigation button as well as popov...

What is different when developing for the iPad versus the iPhone?

Hi, friends. What are the basic differences between the iPhone and iPad platforms that developers should be aware of? I am a junior developer at an iPhone development company, and I am still new to this. And also how does developing for iPhone/iPad differ from other platforms? ...

viewcontroller over uipopovercontroller's viewcontroller

hi any one know how to call an uiviewcontroller, form an uipopovercontrollerd's uiviewcontroller. i did that but the size of the next viewcontroller changes. thanks before your help!!! ...

What's a good way to have sample data on the iPhone/iPad?

I have an iPad application that pulls in all of its data from an external web service. I am working on building in a demo mode that will use a cache of demo data stored on the device so it can be demoed and tried out without the web service connection (or an internet connection.) Is there a project or good practices standard to follow ...

How to get rect size of UITableViewCell?

How can I get the rect size of a UITableViewCell? I am trying to display a pop hover every time the user clicks on a cell, and would like the pop hover to appear centered on every cell: [replyPopover presentPopoverFromRect:CGRectMake(77, 25, 408, 68) inView:self.view permittedArrowDirections...

After change orientation in TabBar I have a display problem

Hi, I have a problem with my TabBar. My TabBar contains three tabs, if I change the current orientation, my content view is truncated, I should click on other tab and return on my desired tabs with that the problem is fixed, why ?. Thanks ...

Detect iPad in php?

How do I serve a different page to iPad viewers? ...

Given an IBOutlet pointer in Objective-C/iPad, how do you hide that element?

Given an IBOutlet pointer in Objective-C/iPad, how do you hide that element? Want to remove it from the screen by making it invisible, hiding it, removing it? ...