ipad

How can i apply my own interface design on iPad ?

I tried to look for a tutorial that tell me how to apply my own interface design on iPad application in (Xcode or interface builder don't know!) such as background images, overriding default button look and feel, but couldn't find anything, don't know may be i was trying the wrong keywords, Can anyone give me some good links ? Thanks ...

Eliminate question mark icon in iphone/ipad JavaScript's ontouchstart event

I am developing an iPhone/ipad app using HTML,CSS and JavaScript that runs on an embedded webkit browser. There's an image in the page that's attached to the ontouchstart event handler. Testing on a real iPad shows that whenever I touch the image on the page, a little question icon pops up, which I do not want. What is this little que...

What's the best way to access my Navigation Controller from any one of the views on its stack?

I figured the easiest way is to simply store a reference to the Navigation Controller in each of the View Controllers I push on the stack. Or, I could just access the AppDelegate from anyone of my View Controllers and grab the Navigation Controller since that's where it's stored. Both of these approaches just feel awful, as though I'm ...

cancel a background thread in Objective-C

How do I cancel a background thread in Objective-C? I am calling background threads like so: [self performSelectorInBackground:@selector(setupThumbnails) withObject:nil]; It is called when a swipe happens, for each swipe I want to cancel the previous background thread request. ...

UIOrientation returns 0 or 5

I am running a simple function that get's called in multiple areas to help deal with layout on an iPad app during orientation changes. It looks like this: - (void) getWidthAndHeightForOrientation:(UIInterfaceOrientation)orientation { NSLog(@"New Orientation: %d",orientation); end And I call it in various places like this: [self g...

iphone - can a bitmap be stamped in a path in quartz?

I have to draw a line between two points using quartz. At some point I have this code: CGContextBeginPath(ctx); CGContextMoveToPoint(ctx, lastPoint.x, lastPoint.y); CGContextAddLineToPoint(ctx, currentPoint.x, currentPoint.y); CGContextStrokePath(ctx); This lines will create a hard line between the points currentPoint and lastPoint. ...

How can I pass two value to a NSThread object from the main thread OR have the same value in both threads?

I have a function which executes as a different thread, thread named imageThread. But when the device rotates, the control automatically returns to the main thread and after their execution its given back to the imageThread. That's how i wanted it to function. But the problem is I am using some global variables, whose value changes in th...

add UIButtons to UINavigationController?

I have a splitViewController and I would like to add a couple of buttons to the navigation bar for certain details views - is this possible? Looking at the API I only see a leftNavbarItem and a rightNavBarItem. ...

Are plists the best way to store multiple in-app preferences for my iOS app?

I'm diving into iOS development and am building a game that has multiple game types. When the user selects which game type they want to play, they are presented with a game configuration screen where they can adjust their options for how the game will play. Since there are two different game types, there will be two different configura...

Offline web application + ipad bug

I am trying to get a simple (all front-end) application working offline on ipad, but safari keep telling my that I am not connected to the internet. I uploaded my cache manifest, added AddType text/cache-manifest .manifest in my .htaccess I use 1 ajax request, BUT, I store it in localstorage and I check navigator.onLine, should it be ...

Detecting iPad launch orientation

I'm developing an app that will feature a splash screen fading to the first app page. This splash screen is supposed to seamlessly flow from the Default-X.png image from the app launch. I've got this working great, except for one very special situation. If the user taps the app icon, then IMMEDIATELY changes orientation, the automatic D...

Help in creating multi Page PDF in iPad

Hi all, I am developing an application in which i have to create multi page PDF and email that pdf. The content which is to be converted to pdf contains text as well as some images. I have seen some posts regarding this but could not glean too much from it.Will be greatful if any one can guide in this. Thanx, Regards, tek3 ...

Display tabs below while showing ModalViewController + iPad

Hi all, I am developing a tab based iPad application in which I have show a 'Modal view' at some point of my application. Now when that 'Modal view' is displayed all of the tabs below are hidden as 'Modal view' covers the entire screen. Now I want to know is thre any way to show tabs at the bottom of the application while also showing '...

can TTURLMap from three20 map to a xib-file ?

ive made an app for the iphone and wanted to make it work on an ipad too. for the navigation i used three20. all the views are viewcontrollers with xib´s. for later developement, i just wanted to make the xibs in the bigger format as new skin and let the background-programm the same, so that in the end each viewcontroller would have 2 x...

DebugBreak for iPad

Hello, I want to make DebugBreak for iPad and found that asm{trap} should work, but there is a problem: if I use asm{trap} I have error: asm blocks not enabled, use `-fasm-blocks'. If I enable -fasm-blocks I have another error: -fasm-blocks option not supported for ARM. Do you know another way to implement DebugBreak or to make asm co...

My ipad project does not run on a real ipad device

Hello I cannot figure out why it's not working. I run the project on the simulator. It works fine, I test it on the ipad, it does not run. When launch, a black screen appears and it does not even enter the delegate. Please help. Thanks ...

how can i use mailComposer in iPad as well as iPhone?

Hi!I have implemented mail Composer for iPhone and it's working Fine i want to use that mail composer in iPad also so what should i change or please Guide me how can i implement Mail composer in iPad?if possible then please give me a sample code also for that.Thanks in Advance.. ...

How to use CTTypesetterSuggestClusterBreak in CoreText + objective C

Hi all, I am having trouble in using CTTypesetterSuggestClusterBreak function of CTTypeSetterRef class. I want to use this method to get closest word boundry near an index. I am having difficult in the implementationof this method, i.e how and where this method must be used. I have been banging my head over this but with no success yet....

UITabBar get selected item

How can I catch the event when an item is selected from a UITabBar on iPhone/iPad app? ...

free vs. dealloc vs. release

Hi guys, I am very new to obective C and Ipad app development. Can someone explain the difference between "free", "release", "autorelease" and "dealloc"? Thank you so much in advance. I realise this might be a simple question for the pros but I genuinely don't know where to use what. Thank you ...