ipad

Formatted Text in UIScrollview

Hi all, What i Need to do for our project is to Display several UIScrollViews in a View and weithin the scrollView a Headline and a Short Text. I Know how to add a Label to the UIscrollview, but how Gould i handle the Case that the Headline-Label is too Long and wraps to a Second Line. ...

Searching XML from Objective-C

My ipad app draws large amounts of text from an xml file and displays them on individual pages in a UIWebView, with the page determined by the XML element containing the text. What is the best way to enable the user to search the entire text for an input string? Should I have Objective-C search the XML and get back the page data, etc? ...

IPhone: Why are Bulk Inserts in Core Data so slow?

So I'm making an iphone app that just has a thousand entries that I'm reading from an xml file into core data. But inserting these records takes like 10 seconds on the device. It's pretty ridiculous. The schema is very simple, just one table. I.e., no relationships or anything. To see what I mean, you can just go to: 1. File -> New Pr...

Run app on startup

I've been looking into how to create a locked down kiosk app for the iPad. The iPad is jailbroken and I've figured out how to disable the home and volume buttons, but can't find anything solid to run an app on startup. Does anyone know of an app or script that could achieve this? ...

Ipad device orientation problem

Hi, I am presenting MFMailComposeViewController(mailController) using presentModalViewController on my UIViewController, In mailController(subclass of MFMailComposeViewController) class i have overhide shouldAutorotateToInterfaceOrientation as - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation ...

CALayer -hitTest: not respecting containsPoint: overload

Back again and have a different question with the same function that I posted before: - (AIEnemyUnit *) hitTestForEnemyUnit:(CGPoint)where { CALayer * layer = [self hitTest:where]; while (layer) { if ([layer isKindOfClass:[AIEnemyUnit class]]) { return (AIEnemyUnit *)layer; } else { layer...

NTLM authentication using iPhone / iPad

Hi, I am trying to develop an iPad application for enterprise deployment. The application needs to access some of the data whose access is currently controlled by NTLM authentication. I am looking at options to authenticate the user from the native application and access the rest of the system. Anybody pointers will be helpful. ...

Dismissing UIPopoverController when using ABNewPersonViewController

I have an "add Contact" button which when on iPhone I present a navigation controller with root view controller of an ABNewPersonController modally. If on iPad I have got a popover which I can display with the new person controller inside - nice. The problem comes when trying to dismiss. I can dismiss the popover when touching...

retina display graphics on the iPad not showing up - why?

I've installed my iPhone app on an iPad. When I tap this "2x" button, the app gets scaled up, but it doesn't use my retina display graphics. Isn't that somewhat stupid? I am sure I did something wrong! What must I set in the info.plist or elsewhere that the iPad will use my retina display graphics when the app is watched in 2x mode? ...

A UI control for Ipad to brose a list of images

Hi I have made the decision to use monotouch to develop an application that browses an rss feed and displays a grid of images much like browsing the picture library actually on the device. My issue is that I have NO idea (even after extensive googling) as to what control I should use. I want to be able to swish through the list of im...

How does Monotouch manage resources (strings, images, etc.)?

In Android I put my application strings in a file called strings.xml. For example, for an Italian translation I need to create a values-it folder and put a strings.xml file with Italian labels inside this new folder. How does Monotouch manage such internationalization of strings? ...

What's the name of the app made by Apple for browsing iOS documentation?

Someone said there was an special iPad app from Apple that is made for browsing the iOS documentation and other related things. What's the name? ...

How do I find the plain version of a font in Core Text?

I'm using 'CTFontCreateCopyWithSymbolicTraits' to create a 'CTFontRef' with an italic version ('kCTFontItalicTrait'). Is there a way of taking the same italic font and using 'CTFontCreateCopyWithSymbolicTraits' to set it back to the plain version again? Thanks! ...

Ipad - actionsheet not showing all buttons in landscape mode when keyboard is present

I am developing an Ipad application. It supports both landscape and portrait mode. The app has keyboard.It also shows an action sheet with 4 buttons when required. In portrait mode it works perfectly. But in landscape mode action sheet only show 2 buttons when keyboard is there .Without keyboard it show all 4 buttons. any solution? ...

CALayer and Off-Screen Rendering

I have a Paging UIScrollView with a contentSize large enough to hold a number of small UIScrollViews for zooming, The viewForZoomingInScrollView is a viewController that holds a CALayer for drawing a PDF page onto. This allows me to navigate through a PDF much like the ibooks PDF reader. The code that draws the PDF (Tiled Layers) is lo...

file sharing on iphone/ipad?

Hi guys I want my app to share files via itunes file sharing. Right now all of the Documents folder is exposed to the user. The problem is that there are certain files there (let's say these are "System files") that I don't want to expose. What should I do? And if it's not possible to "hide" files, where do you think it's best to put "...

Volume Control for entire app

My current app could probably be thought of as a sound board. There are a few buttons to click on which produce sounds. The sound are on on View Controller. Nested inside that is another View Controller with the settings which will pop up when called. This is where I need to put my volume slider. To produce the sounds the parent View...

iAd banner content Size .. (iAd Support with iOs 4.2 for iPad)

We have an application that support iAds. Apparently iOs 4.2 for iPad will support this, but doing some tests with the beta SDK, there is no way to resize de banner to make it fit on the DetailView of a SplitViewController. in Iphone you set the required content size identifiers for an ad banner, which are ADBannerContentSizeIdentifier3...

Is there a standard way of playing longer sound clips?

I'm currently using AudioServicesPlaySystemSound(_soundID) to play sound clips. My understanding is that this can only be used to play clips under 30 seconds. What is the standard way of playing longer sound clips? ...

iPad detailedViewController displaying thumbnails

Hi, I am a newbie and I am developing an iPad application. I am developing an application that gives a list of cars in the Root View and when the user selects a car make, the thumbnail images of the models are displayed in the detailed view controller. I was able to have a table but I am stuck as to how to display the thumbnails. I am a...