Tag: ipad

LibXML2.dylib with Xcode6

I’m trying to integrate libxml2.dylib in my IOS project,I have linked this library in Link binary with libraries in Build phases for target,its working fine when I run it on simulator,but throws linker command failed with exit code 1 (use -v to see invocation) library not found for -lxml2 error when trying to run it […]

iPad Launch image landscape

I keep getting a warning that my ipad launch image landscape isnt 1024×748, while it actually is that size. When i do compile with the ‘wrong’ size, it gives me a bloated portrait image.

Vertical Fold Animation

I am trying to create fold animation for my UIView vertically.. After long search i found the following link.. Origami transition using CATransform3D perspective .. From the above link i just tried the following.. It gives me the exact animation.. By my UIView appears in reverse.. I dont know where i messed up.. Any help […]

Xcode CoreFoundation/CFUserNotification.h' file not found

I don’t know why I get this, when I build a iPad project in xcode4.6. iOS sdk 6.1, simulator 6.1. /Applications/Xcode4.6.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:92:10: ‘CoreFoundation/CFUserNotification.h’ file not found In file included from /Applications/Xcode4.6.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:5:10

Black Bar in UIImagePicker on iPad – Only in Landscape Right Orientation

I am showing a UIImagePicker (itself in a UIView) via a UIPopOver. This works fine, however when the iPad is rotated onto its right side I get a strange black bar along the left hand side of the popover as per the image below. The cancel button is also partially off the right hand of […]

iPhone/iPad Project xCode

Can I compile the same iPhone source code for iPad?

iAd AdBanner Memory leak issue (App crashes)

I have a simple app with list/detail view. In the detail view, I have 1 webview and also show 1 iAd. As I toggle between list/detail view, my app crashes sometimes. It seems there is something wrong with my iAd code. Please hlp me fix it. I tried using Leaks, but am unable to figure […]

How to access videos from Photo Album and play them?

Following code used to save videos to photo Album. else if ([mediaType isEqualToString:(NSString *)kUTTypeMovie]) { NSString *sourcePath = [[info objectForKey:@”UIImagePickerControllerMediaURL”]relativePath]; UISaveVideoAtPathToSavedPhotosAlbum(sourcePath,nil,nil,nil); } If it is video i want to play it if it is image i want to display it. Help Me.

Xcode iOS Simulator: can I use the mouse as pretend Apple Pencil input (on iPad Pro), for testing?

Is it possible to do this (with a menu, a shortcut, or a modifier key + mouse)? For example, you can use the mouse to test simple touch gestures in the simulator, like left mouse acts as single finger, and shift / option allow for different two finger gestures. I have been unable to find […]

iPad: file was built for armv7 which is not the architecture being linked (arm64)

I have been developing my app using Simulator and an old iPhone 4S. I tried to run the app on an iPad Mini 3, but I get this warning: file was built for armv7 which is not the architecture being linked (arm64) any idea on how to fix it? EDIT: The error was related to […]