ipad

Does Apple's Reachability work with 3G connectivity?

I am developing an iPad application, and I am trying to figure out the best way to decide if a user can connect to the Internet. If the user has no connectivity, I will load cached data, otherwise I will load new data. I am trying to use Apple's reachability class for this, and I wanted to see if I am doing this correctly. In applicat...

Add BarButtonItem to Navigation Controller in Popover

Hi everyone, I'm trying to add UIBarButtonItems to a Navigation Controller that is displayed as a popup. I can't seem to add the buttons, and I'm wondering if someone can help me out. Here is the code I have so far: UINavigationController* navigationController = [[UINavigationController alloc] initWithRootViewController:aStudentsViewC...

I want to support UIInterfaceOrientationLandscapeRight and UIInterfaceOrientationLandscapeLeft only

how do I make sure that UIInterfaceOrientationPortraitRight and UIInterfaceOrientationPortraitLeft are not supported. Basically I want my application to be used ONLY in UIInterfaceOrientationLandscapeRight and UIInterfaceOrientationLandscapeLeft I edited the Info.plist file <string>MainWindow</string> <key>UISupportedInterfaceOrient...

Adding subViews to UISplitViewController

I have this button on the leftside of my UISplitViewController (RootViewController) that has a "Add New" button. I want the user to be able to click the button a new view come pop up so the user can add a new RSS feed to their subscription. So far I have the button and the "Add New" button correctly calling a method in the controller, bu...

iPad magazine app concept?

hi, what is the best way and technique to develop a ipad magazine app? is it possible to use html5/css including swipe effects and stuff? what are other techniques? thanks in advance regards ...

"Upgrade current target for ipad" is grayed out (disabled)?

I'm trying to create a universal iPhone/iPad app using this method: http://www.enscand.com/roller/enscand/entry/ready_for_ipad which is also described all over the web. My problem is that the "Upgrade current target for iPad" line is grayed out and doesn't appear at all when I right click the target. I'm working on an app that I inherit...

iPad SplitView Controller with different detailviewcontrollers based upon item selection?

What is the best way to support multiple detailed view controllers in an iPad SplitViewController? I want different detailViewController types to be displayed depending on which row is selected from the RootViewController. ...

How to change wallpaper in iPad programmatically?

How to change wallpaper in iPad programmatically? ...

Why is my iPhone SDK 3.2 iPad code showing a white screen?

I'm trying to get a UISplitViewController working with an iPad app. I have the table view controller linked up under the Master pane and a plain UIView under the Detail view. I also have [window addSubview:splitView.view]; in my code. For some reason I just get a white screen even though the table view controller code is properly code...

What is the best way to move a UIToolbar?

Here is an interesting problem. On the iPhone, I have a view set up that has a toolbar on the bottom of the screen. I am currently trying to make this a universal app so that it runs on iPad as well. I would like the toolbar to be at the top of the iPad screen, so in the viewDidLoad method of the specific viewController I have the follow...

Solving iPhone/iPad out of memory issues

I have a strange issue where I'm scrolling through a paged UIScrollView which displays the pages of a PDF document (using Quartz 2D and CATiledLayer). When I page through memory allocation looks fine with it going up with a few initial pages and then keeping it steady as it obviously releases the memory kept for earlier pages. Upon hitti...

Suggestions for entering mobile development -- pure iPhone SDK, Android SDK, Mono Touch or Titanium ?

I am entering mobile development. I have been working primarily in .NET since 1.0 came out in beta. Before that, I was mostly a C++ and Delphi guy and still dabble in C++ from time to time. I do web apps quite a bit so I am reasonably proficient with Javascript, JQuery and CSS. I have also done a few Java applications. I started web...

iPad touch detected only in 320x480 region

I'm upgrading iPhone app and so far everything is going well (managed to resize screen display for most forms). However, I can't solve one problem - the touch is detected only in old, 320x480 region. Any ideas how can I solve that? Thanks EDIT: Here are the results when code for fetching superview bounds executes: CGFloat wdth = self...

Checking whether UI_USER_INTERFACE_IDIOM exists at runtime

I am working on a universal app that should be able to run on iPad and iPhone. The Apple iPad docs say to use UI_USER_INTERFACE_IDIOM() to check if I am running on iPad or iPhone, but our iPhone is 3.1.2 and will not have UI_USER_INTERFACE_IDIOM() defined. As such, this code breaks: //iPhone should not be flipped upside down. iPad can h...

iPad popover textfield - resignFirstResponder doesn't dismiss keyboard

I have two text fields email and password. The following code works fine when the fields are presented on a regular view but when they are on a popover, the resignFirstResponder does not work (becomeFirstResponder works). textFieldsShouldReturn was called for both fields. Any idea if I am missing something? Thanks! - (BOOL)textFieldShou...

iPad image resolution drops after zoom out

I'm working with hi-res images on an iPad app. When my image first loads it looks clear. When I pinch zoom in, it retains clarity. When I zoom out, the image becomes very slightly distorted (fine striped lines appear slightly checkered). It seems to me that a zoom out (even with a double tap) doesn't restore the original image exactly. ...

iPhone/iPad. How do I launch an app from link in Safari?

I have an app that I want to be launchable either explicitly when tapped or when a parameterized URL is clicked on on a webpage in Safari running on iPad or iPhone. Can someone sketch the approach for me and/or point me to the relevant docs? Thanks so much. Cheers, Doug ...

How can you add a UIGestureRecognizer to a UIBarButtonItem as in the common undo/redo UIPopoverController scheme on iPad apps?

Problem In my iPad app, I cannot attach a popover to a button bar item only after press-and-hold events. But this seems to be standard for undo/redo. How do other apps do this? Background I have an undo button (UIBarButtonSystemItemUndo) in the toolbar of my UIKit (iPad) app. When I press the undo button, it fires it's action whic...

UIView added with incorrect orientation

So I have been working on a problem with UIView on the iPad. Essentially I have a splitview as the root view and I want to overlay my custom image view over top of the splitview (This is because the splitview must be the root view). The problem that I have, is when I call addSubview on my splitview the subview gets displayed in its def...

iPad Orientation Lock Notification?

Is there a way to receive a notification when the iPad gets orientation locked? When the orientation lock is set on or off, it does send a receivedRotate: notification, but I need a way to be able to distinguish normal rotations from lock "rotations". The problem is I am rotating things in my view when the rotation changes. When the loc...