ipad

Universal app design 1 table view that opens different view on cell click depending if on iPad or iPhone

I'm making a universal app and I've run across a situation I'm stumped on. On the iPad I'm using a split view, and I would like to make a UITableViewController that is shared on both the iPad and iPhone. I did that, but now when the user clicks a table cell I need to respond. On the iPhone I will init a new view controller and push it in...

Web site exhibits JavaScript error on iPad / iPhone under 3G but not under WiFi

Connecting to http://www.manage-us.com on an iPad under 3G [used to] result in a JavaScript error which can be seen if the developer console has been enabled. If the same page is accessed using the same iPad under a WiFi connection no error is displayed. [The error has now gone because I applied the fix below!]. Why is this? I've trie...

iPad custom video controls - MPMediaPlayback

I'm looking to build some customs controls for video playback. I've had a look at the documentation and it looks like implementing MPMediaPlayback will do the trick. Does anyone have an example of this or am I barking up the wrong tree... Cheers Niall ...

iPhone - can Cocos2d create non-games?

Can Cocos2D create non-game apps like, for example, a finger painting application, a questionnaire or other kind of app that is not a game? If so, what kind of limitations did the library has for this kind of app? If not, what kind of library do you suggest? thanks ...

Using a UISegmentedControl in the footer of UIPopoverController

In my iPad app Viewfinder (iTunes Link), I'm trying to recreate the look of a UISegmentedControl as seen in the footer of Keynote's Build In popover: The iPad HIG suggests using a bottom-aligned UIToolbar, but the appearance is incorrect. This screenshot shows Black Opaque, but none of the standard styles match Keynote. Any advice ...

Ipad app link open in UIWebViews

I have an iPad app with to UIWebViews. Is there a way to have some of the links clicked in the top view open in the bottom view, based on an attribute of the link's html? (Such as target="" or id="") ...

universal app ipad not showing colors

Hey guys. So I converted an iphone app to a universal app, and when I try to change the background colors, e.g., view.backgroundColor = [UIColor blackColor];, it would change while running on the iphone. However, the ipad will only show gray. Does anyone else get this? Same thing for interface builder. Thanks, ...

Make disappear after X seconds, if no movement? Jquery/Ipad

I know what code to use to make something wait X seconds before fading out... $('div#extras').delay(800).fadeOut(3000); But this is for the ipad, & I would like it to only fade out if the user has not moved or touched anything for about 2 seconds or so. I can't exactly use onmousemove with this.. Any ideas? For anyone interested.. ...

Custom UIAlertView moved up after upgrading to ipad/universal app

So after upgrading to a universal app, one of my UIAlertViews shifted up, but only for the iOS4.0. Before: . After (only on iOS4.0): . I looked into alert.transform = CGAffineTransformTranslate( alert.transform, 0.0, -100.0 ); to shift it back down, but that does absolutely nothing. Does anyone else have this problem? Thanks. ...

Views have wrong position and size in landscape mode.

Hello, I'm developing "landscape mode-only" app for an iPad. Problem is that my views have wrong positions on the screen, and I can't find the reason... I've set necessary properties in the Info.plist: <key>UIInterfaceOrientation</key> <string>UIInterfaceOrientationLandscapeRight</string> <key>UISupportedInterfaceOrientat...

another question about rotation in ipad

so i have a view based ipad app. which i set the "supported interface orientations" and "initial interface orientation" properly. no problem here. all my view are load from nib and all my view in nib are set to be landscape. i load my first view in xxxAppDelegate.h, perfectly fine here. the view load correctly. and the problem come. wh...

iphone/ipod touch/ ipad ide/text editor

I know that there are a multitude of text editors for the iphone. Im looking for a good text editor, preferably on that has syntax highlighting and also is good for application development on the iphone can anyone help me? My devices are all jailbroken thanks in advance ...

preventing zooming at some limit

Hi friends In my ipad openGL based application I am drawing a 2D and 3D object and rotating it according to the user's finger motion....On pinching the screen user is enable to zoom those objects...But what I want is to prevent zooming the object at some limit, say more than 2x of the object size user cannot zoom in and user cannot zoom...

How to parse PDF in Objective C for iPad

Hi Folks, I am stack with parsing a PDF file. Please guide me how to do this. Header file. //PDFViewer.h @interface PDFViewer : UIView { CGPDFDocumentRef pdf; } -(void)drawInContext:(CGContextRef)context; @end Implementation file //PDFViewer.m @implementation PDFViewer - (id)initWithFrame:(CGRect)frame { if ((self = [super...

set ipad app background programmatically?

Does anyone know how I can set the background of my webView to the textured background that came with the iPad SDK programatically? ...

iPad, any way to clear extra memory before running app?

I am creating apps for the Ipad and its driving me crazy. The memory that is usable by the apps changes depending on what other apps were ran before it. There is no reliable set amount of memory that can be used by your app. i.e. If safari is ran then even after it closes it takes up some amount of memory which effects other apps. Doe...

iPad webapp problems: statusbar over page, html/JS links

Hi there. I have a webpage/webapp that works really good. Just 2 problems right now: The statusbar of the iPad is not above the page, like i think it should be, but its in the page. So the top ~10px are overlayed by the statusbar and therefore my menu at this place is nearly unusable. I used 'black-transulent' but also 'black' as status...

Possible to mirror iPhone/iPad screen on a monitor without jailbreaking?

I have been looking for a way to show the iPhone screen (not the simulator) on a monitor or projector for demo purposes. Previous SO post suggested jailbreak (Veency, iDemo/DemoGod, screensplitr) or simulator. Release notes iOS 3.2 (External Display Support) and iOS 4.0 (Inherited Improvements) mentions that it should be possible to con...

Sending out HTML email with IMG tag from an iPhone App using MFMailComposeViewController class

Dear All, I am using MFMailComposeViewController class to send out formatted HTML email from my iPhone app. I need to include an image in the email and I added am IMG tag to my emailbody - (IBAction)shareWithOther { MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init]; picker.mailComposeDelegate = se...

table view Warning

Hi i have tried the table view sample with the viewcontroller.when im running i got this error may i know wher im making mistake WARNING: Using legacy cell layout due to delegate implementation of tableView:accessoryTypeForRowWithIndexPath ...