ipad

Bigger map annotation callouts in iPad

In iPad photos application, under "Places", you can see a map of where the photos are taken. When the user taps an annotation, a callout appears showing a stack of photos for that place. How can we achieve the same effect (bigger annotation callout with custom information) in our own iPad applications? Do we have to create a custom MKAn...

iPad/iPhone hover problem causes the user to double click a link

I have some websites I built times ago, that use jquery mouse events...I just got an ipad and i noticed that all the mouse over events are translated in clicks...so for instance i have to do two clicks instead of one..(the first hover, than the actual click) is there a workaround ready to solve this? maybe a jquery command i shoudl have...

HOWTO use UIWebView to display a downloaded file later?

How do I format an NSURL (what path, or path generator function) so that I can display a downloaded local file (NOT part of the application NSBundle) for use offline? The idea is to snag an HTML file, clean it up and stash it in the iFoo application specific storage area, then later use UIWebView to display it. Next, I go off to RTFM a...

iPad View Rotation Duration

Hi everyone! When changing the orientation of the iPad, my app rotates its view very fast. It is difficult to perceive the transition between both orientations. I would like to increase a little bit the duration of this transition. Does anyone know how to increase the duration of this transition? Thanks! ...

iPad: Split view Controller

I am creating split view based application for i pad. I have 1)root view controller 2)detail view controller It is like menu and submenu Here i am planning to do i would like to have navigation in root view controller. It is recomonded to use or not. If it is recomended how is it possible. ...

iPad Camera Connection kit?

Does anyone know if it is possible to access the iPad's camera connection kit? I would like to read the files off the connected mass storage device. Would this be possible or is this something that only Apple can do in there apps. Thanks ...

Replace an Array with an Array

I have and NSMutableArray and I want to replace it with another, but if I try to do it like this... firstArray = secondArray; ...then it seems to erase the entire firstArray and I get this error message.. Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0...

Build warning for distribution configuration of an iPad only application

Hi, I'm getting the following warning when building an ad hoc distribution copy of a new iPad only application: [BWARN]warning: building with 'Targeted Device Family' that includes iPad ('2') requires building with the 3.2 or later SDK. These are my build settings: Architectures: Optimized (armv6 armv7) Any iPhone OS Simulator: i386...

how to load pdf in uiwebview in horizontal view?

I have implemented pdf reader application in which i want to scroll pdf pages in horizontal mode is it possible?If yes please help me for this in query. Thanks in advance. ...

pdf page display problem in ipad

I am able to parse content of pdf. I am able to display pdf page as a image in scroll view. but pdf page is cut when width is more than scroll view. I want to display pdf whole page without lost its quality and contents. please give me hint. NSArray *temp=[[contentsAtPath objectAtIndex:i]componentsSeparatedByString:@".pdf"]; NSStri...

EXC_BAD_ACCESS due to PostNotification

Hello All, I am facing one issue regarding one module let me clear the flow for the same. I have one customized UITableviewCell. When I am getting some new information I am posting one notification [[NSNotificationCenter defaultCenter] postNotificationName:KGotSomething object:nil userInfo:message]; In view where I am maintaining t...

How to animate a UIButton selected background Image

hi all, I have a class defining a custom UIButton. I configurate a normal and selected state like this: //custom image UIImage *image = [UIImage imageNamed:@"customIconCreationBG.png"]; UIImage *stretchImage = [image stretchableImageWithLeftCapWidth:0.0 topCapHeight:0.0]; [self setBackgroundImage:stretchImage forState:UIControlStateNo...

UIModalPresentationFormSheet on iPad in landscape mode

I created a UIViewController view from XIB with modalPresentationStyle set to UIModalPresentationFormSheet and everything works great in portrait mode. When I switch to landscape the view gets moved upperleft (it's not centered as it should be) and most part of it is clipped. Any ideas why this is happening and how to solve it? Thanks ...

ipad accelerometer doesn't work

Hi all! I made a viewcontroller that works fine on my iphone, I inserted this viewcontroller into an ipad app, sent the .app to my friend but the accelerometer didn't work... here is the code I used: into the declaration I added: <UIAccelerometerDelegate> this into my viewconotrller code - (void)viewDidLoad { [super viewDidLoad]...

How the ABC iPad app was built?

Did they use WebViews and HTML 5 to display content or is it all native iOS stuff? Just trying to dissect the functionality. How would you do this functionality in iOS? ...

Always center UIView

Hi, I have a small UIView that should appear always in the center of the screen. This works great for portrait mode but does not in landscape. To draw the UIView I use: myView.frame = CGRectMake((visibleArea.size.width - MY_VIEW_WIDTH) / 2, (visibleArea.size.height - MY_VIEW_HEIGHT) / 2, MY_VIEW_WIDTH, MY_VIEW_HEIGHT); myView.autoresi...

how to get actual pdf page size in ipad

how can i get pdf page actual size means pdf page width and height in ipad? please give me a document or hint. ...

Multiple page UITextView

Hi There. I'm working on a project where i need to display a lenghtly text on an iPad. I'm actualy displaying it using a UITextView, however the client do not want it displayed across multiple page: similar to a book. when a user tap on a button, he is taken to the previous page. Any clue on how i could implement that? ...

iPhone MGTwiterEngine & oAuth

Hi, I am trying to create an app that uses oAuth and the MGTwitterEngine for iPad. When I build I get these errros. How do I fix this? I amported everything that comes when I download http://github.com/bengottlieb/Twitter-OAuth-iPhone I imported libxml2 and sql. I addedd libxml to the header search path. Can anyone help? Thanks ...

OAuth2 Flow for Mobile Devices

We're currently working on an API that will be consumed by a variety of different devices. We want to use the OAuth2 spec as it defines several flows which were not available in the original OAuth spec. My question is, what flow would work best for a mobile device such as the iPhone or iPad? What flow does an application like TweetDeck u...