ipad

Access problem with NSMutableArray

Hi, my problem is that I can't access my NSMutableArray in - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {}. I create my NSMutableArray here: nodes = [xmlDoc nodesForXPath:@"/xml/items/item/short_desc" error:nil]; if (nodes != nil && [nodes count] >= 1) { for (int i = 0; i <...

How to build an Ipad web app like GMAIL for the iPad

Hello, I'm interested in building am iPad web app like The GMAIL iPad web app. What is the best way to build it? What is the best framework? Jqtouch, webkit, etc. Thanks ...

Recommended Way To Go Full Screen

I want to have a UIView take over the whole screen to display an image from time to time, but most of the time I'm using a UISplitViewController for the main app functionality. Is there a recommended/best practice way to do this? Right now, I have a pointer to the main window and am just adding the UIView as a sub view and bringing it to...

What's the correct way to represent a linear process in CocoaTouch (UIKit)?

I need to represent a linear process (think wizard) in an iPad app. In principle I could use a UINavigationController and just keep pushing new controllers for each step of the process. But this seems rather inefficient since the process I'm modeling has no notion of navigating backwards so all previous views would pointlessly stay aro...

Ipad/Iphone like scrolling

Have any of you seen like a javascript library that allows fluid div scrolling. I kind of want to do something like the scroll bars in google wave...but maybe less annoying. I happen to love them but it doesn't seem like they're getting that good of a review. ...

iPad Safari's mapping of mouse events to touch events in image-maps

My website makes extensive use of image-maps. The images are of pages from a medieval manuscript. The mouseOver event of the AREA tags has a tooltip attached to it, which displays a modern typographic transcription of the ancient script for the line the mouse is hovering over. I just checked my website out on the iPad at the Apple stor...

Cloud sync between iPad/iPhone app

I have a Core Data app that will end up being an iPhone/iPad universal application. I would like to implement cloud syncing so that an iPhone and an iPad both running the app could share data. I'm planning to use the recently released Dropbox API. Does anyone have any thoughts on the best way to go about doing this? The Dropbox API allo...

Is it verified that iPad cannot create ad hoc wifi networks?

Has anyone been able to verify that the iPad cannot create an ad hoc network? It has different radio hardware (the fact that it does 802.11n demonstrates this) than the iPhones, which I thought was the reason that the iPhones could not create WiFi networks. I know this was sort of answered elsewhere, but I wanted it to get proper att...

How can i implement a PDF reader not using UIWebView in iPad

Haii... How can we implement a pdf reader for iPad without usin UIWebView. It needs the option for adding gestures for changing the page with a hand touch. How does I can do that?. What are the classes that need to be implemented for the purpose. Give sample codes if possible. Thanking yo...

Tracking EXC_BAD_ACCESS on iPad

I've been using this code to create my UIWindow UIMyWindow* win = [[UIMyWindow alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]]; UIMyWindow isn't anything special it just has a pointer to a C++ class that does some wrapping of ObjectiveC. Recently my application start crashing after adding some line ...

UISplitViewCOntroller + TabBarCOntroller + iPad

Hi all, I am developing a tab-based iPad application in which corresponding to each tab, I have to show an UISplitViewController . I have done this by adding two navigation controllers to my tabBarController and assigning a subclass of UISplitViewController as RootViewController of both navigationController. And also I have to show bot...

A way to correct background scaling in iPad's Safari?

Hi, I have a website using a huge background image (2000x1500) in a div container (100% x 100%). When I open that site on Safari on an iPad it gets scaled down (~40%) in a different proportion than the content (~80%). I moved the background to an img-tag in a div with 100% width and 100% height and an overflow setting "hidden". Exactl...

iPad: CoreData FetchedRequest Ignores Changes in Predicate

Hi there, While programming an iPad-app, I'm just running into trouble using a fetchedResultsController with a "dynamic" predicate. it seems the changes to the predicate get ignored. No matter how the predicate changes, I always get the result of the first fetch ... same code runs without no problems on iphone-env (3.1.x) !! sample : ...

How to have CATiledLayer not block the main thread

I am implementing a CATiledLayer into a UIScrollView. In the CATiledLayer, I have a function to draw the layers like so: - (void)drawLayer:(CALayer *)layer inContext:(CGContextRef)ctx { CGContextTranslateCTM(ctx, 0.0f, 0.0f); CGContextScaleCTM(ctx, 1.0f, -1.0f); CGRect box = CGContextGetClipBoundingBox(ctx); NSData *d...

iPad Modal View Dismiss Animation Issue

When I present a modal view in iPad, the view comes up from the bottom. But when I dismiss it, it slides of the screen to the left. I'm in landscape mode and using UIModalPresentationStylePageSheet. How do I make the dismiss animation slide the view back down? ...

Open iBooks from an iPad application

I'm creating an application for a client. The iPad will be pre-loaded with a ebook that we will be creating ourselves. This ebook will not be available in the bookstore, but will be preloaded via itunes. Is it possible to open the iBooks application from my application, via some URL schema? Is it then possible to link directly to our p...

setting mailto links to open as html in iPhone/iPad HTML+JS app

The app is wrapped by PhoneGap, so I have access to change the C#. I know mailto body is sent as plain text. I've read that in OS3 a flag can be set in with the MailComposerViewController class to send html emails. I don't mind exiting the app to send an email. I just wondered if I could change a little bit of #C so that my HTML5+JS ap...

populate UITableView from json

Hello all working on my building my first iDevice app and I am trying to populate a UITableView with data from json result I can get it to load from plist array no propblem and I can even see my json the problem I'm having is that the UITableView never gets to see the json results please bare with me as this is first time with obj-c or a...

Is there a way to find out if an iPhone / iPad app is installed already?

I'm writing a freeware version of an app and would like to check if a user already has the unfree version installed, and print a message whose contents are conditional on the results of the installation check... anybody know if this is possible? the closest I've come to a solution is to make use of the CFPreferencesSetValue API with a k...

mouseOver event-mapping on iPad Safari with webkit-user-select: none

I don't have an iPad yet to find this out; have had only a brief opportunity to look at one at the Apple store. Could someone please describe what, if anything, happens to the mouseOver event of an image-map area when the image-map|area has had user-select disabled with "webkit-user-select: none" in the CSS, as described here in section...