ipad

workaround for contenteditable on iPad

Hello Gurus, I have a web application that uses TinyMce to allow rich text editing. Some of my customers are desperate to get it to work on iPad (which doesn't support contenteditable and therefore TinyMce doesn't work) At the moment the only choices I have are: Disallow rich text editing when i detect the browser is iPad. This is no...

iPad split view loading strangely

Hey Guys, So I have a simple split view that functions great except when the view loads. For some reason if it loads in landscape mode, it only loads on ~half the screen (it seems like it is the width of the portrait mode). Does anyone know what may be causing this behavior? I am using the default split view controller provided by th...

How to init UIViewController orientation of a TabBar ?

Hi I have an iPad application with a TabBar , each item of my TabBar is a ViewController that contains a WebView. When the iPad is in landscape mode and I launch my application, the first ViewController (or item) shows me the webview in landscape mode. But the others ViewControllers/items are still in portrait mode. I have to rotate to...

Iphone/Ipad safari and buttons with graphics

Hi There, I'm new to web pages etc and have a problem with pictures and words in buttons on safari on the Mac and Iphone. The buttons display correctly on the Mac but on the iPhone/Ipad they are squashed showing the top of the graphics only. The code is generated by PHP and I can't find a way to correct it. I'm using button tags and onc...

How to build an iOS4 app that will also run on the iPad?

I'm trying to build an iOS4 app (not universal) that will also run in compatibility mode on the iPad. So I set the Deployment Target to 3.2 and the Device Family to iPhone. This works fine in adhoc builds, but when I try to upload it the the store, Application Loader complains: “This bundle is invalid. An application targeting the iP...

Fish Eye Effect With Core Animation?

I am trying to achieve an effect similar to the globe of the ABC News iPad app. (Google Images Examples) Is it possible to get this effect by transforming CALayers? Or is this using OpenGL and fragment/vertex shaders? CALayer provides access to the transformation matrix, is there some math that can be applied to this rather than transf...

NSTimer and accelerometer in iPhone/iPad

I have a requirement in my app which requires me to display some message to the user if there is no activity happening for about 3 hours on the app/ipad. I considered the solution of having an NSTimer that would start at launch. If the user performs any action, I invalidate the timer and start a new one. However, there is video playback ...

Are there any iPhone/iPad tools for rapid development of catalogs?

A number of apps I build are catalogs. Consider this website that showcases housing http://www.zuccalahomes.com.au/search.php I get a number of requests to build iPhone/iPad apps that have a search system that effectively displays data like this in the app. Users search, click on results, see some images etc Most of the apps need to lo...

Are iPad and iPhone versions of an application upgraded independently or as one binary?

We have an app (runs on iOS 3.0 or later) in app store already and , we planned to upgrade that app as an universal app. I believe that, when we submit an universal app ( runs on iOS 3.2 or later) , App store retains a copy of iPhone-only version of that app , and serves that copy to iOS 3.0 Customers (if OS Deployment target in Univers...

using split view how to load web view in detail view

how to initialise my detail view with webview when a table row get selected in master view... any example or any method to solve this problem.... Thanks in advance.. ...

iPad Orientation/Frame size problem

In "View Did Load" I'm trying to determine the size of the view so I can appropriately size a subview. I want it to always stretch about the length and width of the screen regardless of orientation. quest *anview = [[quest alloc] initWithFrame: CGRectMake(50, 50, self.view.frame.size.width-100, self.view.frame.size.height-100)]; self.a...

adding images to UIScrollView

Hi, There are 20 images. When scrolling the UIScrollView, I want to add the image to UIScrollView (one by one). How to do this ? Please help me to do this. ...

how do you prevent page scroll in textarea on mobile safari

I am trying to make a little note pad app for mobile safari for funzies but so far it doesn't seem to be working out. I want to prevent page scrolling so it doesn't have the rubberband and feel like a webapp but to do this I am using: document.ontouchmove = function(e){ alert("calling prevent default"); e.preventDefault(); } ...

ALAssetRepresentation as NSData for GIFs

I'm try to allow users to pull images out of their Photos collections using ALAssetsLibrary. Users can then upload these images. My goal is to allow users to upload any GIFs they may have in their library w/o loosing any animation they may have. For PNG and JPEG files I can grab the ALAssetRepresentation, use - (CGImageRef)fullResolut...

UIToolbar in iPad.

Hi all, I wanted to have two buttons on the both end of Navigation Bar (in iPad's Detail View Controller). So I created two UIToolbars and I set the them as Left&RightBarButtonItems. But, There is some color variation in the NavigationBar. Attached images for your understanding. ...

Incorrect frame size/orientation after switching from UINavigationController to a UISplitViewController

Hi, I am trying to use a UISplitViewController for only one tab in my application (the others are using a Navigation Controller and different ViewControllers). I have added the SplitViewController in the MainWindow.xib (the only way I could get it to work) but I don't add it to the window when didFinishLaunchingWithOptions is called as...

searching in large amount of info in a single file on iphone

Hi all, I wanna store a list of people while each person has some pieces of info associated with him. for example location and phone number and e-mail address. i wanna store in this list around 10,000 persons. After that i want to search this list dynamically (after typing each letter , the database is searched for new matches to the st...

How to clear back forward list in UIWebview on iPhone?

Hi all, I want to access/clear the back forward list as if the UIWebView is new again. Is there any public api or workaround to do this? I've tried while ([webview canGoback]) { [webview goBack]; } but that will freeze the device (simulator too) Thanks! ...

iPhone SDK: MapKit multiple custom annotations.

I am able to load a big list of location onto my MapKit and display them all with a custom Pin image and annotation. The issue i'm having is that I currently have all annotations displaying the same Title, Subtitle, and pinImage. How do I make it so that I can set each annotation with its own Title and different Pin image? I'm having a...

Core Data: 3 table join?

I know Core Data is not a database and there are many differences. Is this one? In a database, I would commonly have the following A ->> B ->> C "A" has many "B" which has many "C" The query, "Give me all A's which have c.attr = 'X' is easily written like: select * from a, b, c where a.id = b.aid and b.id = c.bid and c.attr = 'X' ...