Tag: ipad

Draw lines with Glow effect in iPad App

I have integrate draw line in my application i have not used OpenGL or any other similar framework. So now i want to give glow effect to their lines so how can i give it ? Thanks in advance.

AVCaptureMetadataOutput setMetadataObjectTypes unsupported type found

I know there are someone have ask this question.But it is a sorry i donot find the answer. dispatchQueue = dispatch_queue_create(“myQueue”, NULL); [captureMetadaOutput setMetadataObjectsDelegate:self queue:dispatchQueue]; // [captureMetadaOutput setMetadataObjectTypes:[NSArray arrayWithObject:AVMetadataObjectTypeQRCode]]; // 设置条码类型 captureMetadaOutput.metadataObjectTypes = @[AVMetadataObjectTypeQRCode]; i got crashes info from Crashlytics: [AVCaptureMetadataOutput setMetadataObjectTypes:] – unsupported type found. Use -availableMetadataObjectTypes.

Oracle access from iOS

I’m developing an iPad app that needs read-only access to an Oracle database. Is there any way to do this? As far as I can see, the only options are using OCI, which requires a prebuilt binary in the form of the instant client (and not built for ARM), or OJDBC drivers. Both of these […]

UIScrollView bounds have not yet resized in “viewDidLoad”

I have a UIViewController subclass whose view is configured in a NIB file. The view has a UIScrollView subview. The UIScrollView takes up almost its entire NIB file but it’s superview is added as a subview to a much smaller view (configured in a different NIB) – e.g. the UIScrollView is 80% the height of […]

iAd on iPad: Landscape iAd not Oriented Correctly

This is still a relatively new topic so not sure how many people have got to implement iAd on iPad (iOS4.2.1). But basically, I get the iAd banner to appear in landscape mode (and it appears correctly). The only problem is when I click the “Test Advertisement” it shows the test advertisement in portrait mode. […]

NSURL with special characters

How can I encode this url to be displayed in a UIWebview: http://de.wikipedia.org/?search=Bevölkerungsentwicklung I tried: -stringByAddingPercentEscapesUsingEncoding:NSUnicodeStringEncoding -stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding and CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, (CFStringRef)mobileUrl, NULL, (CFStringRef)@”!*'();:@&=+$,/?%#[]”, kCFStringEncodingUTF8); thanks joerg

Localization: application crashes when language is changed in simulator

In order to localize my application, I created Localizable.strings for three languages. I didn’t need to localize any nib files since I’m not using any in my project. No images were localized, only the strings. In the code, I read the strings using NSLocalizedStrings(@”key”, @”comment”). The Localized.strings files use UTF-16 format. The strings look like […]

DatePicker Stopping CoreData Work

I have an app which saves text and the date from a UIDatePicker and then shows that note if you got back into that date in the UIDatePicker. Its works great! Only I have found that setting the UIDatePicker date to today stops CoreData working! Its only when I run this setDate line does it […]

UISearchDisplayDelegate how to remove this opaque view?

how can i programmatically show/hide this opaque view from UISearchDisplayController? Probably in searchDisplayControllerWillBeginSearch or searchDisplayControllerDidBeginSearch i need to set something… but what? thanks.

Display PDF on iPad

hi i am trying to print pdf,It is printing well but the problem is not fit the width for every pdf.my code is like this.. //for scalling -(CGSize)getPageFitSizeOfSize:(CGSize)sourceSize inSize:(CGSize)containerSize{ // now fit the source to the container size – compute the width and height of the //image once it is aspect fit // first fit […]