ipad

iPad/iPod: autoRotate resizes view in window

Developing an iPad interface, I have a scenario where I have a UIViewController which manages a view that gets placed directly as a subview of the main UIWindow. Before being placed in the UIWindow, that view gets resized to a non-standard size, let's say, 768x460, and positioned at the bottom of the screen. When rotating the device, t...

How do you bring an Image View below a Text View on the iPad? (On the iPad)

How do you bring an Image View below a Text View on the iPad? Somehow I have an Image View on top of a Text View and you can't see the text! ...

Issue involving application internationalization on iPhone SDK

Hello there, I'm creating an application which there's a way to the user change its language on the Settings.app (so I'm using the Settings.bundle file), it's working great. But when I change the language and open the application again, it changes the key AppleLanguages with the selected language, but no changes to the "interface" (noth...

ipad saving excel sheet opened in uiwebview

I've few excel sheets and i want to distribut them along with ap. I want to create an application that open those excel sheets, allow user to modify the content and save the excel sheet as new file. For that purpose, I think I can open excel sheets in UIWebView that allows editing as well. But the trouble is, can I save edited Excel shee...

Cancel UIScrollView scrolling

Is there a way I can cancel scrolling in 'scrollViewWillBeginDragging' based on certain conditions? ...

How to play stream audio in iPhone/iPad

Hi, I want to play sounds from an internet server in my own program. But the sample codes Apple supplied concerned about sound play are all open an audio file, and then play it. I want to know how can I play PCM data from memory, which received from internet continuously. Either OpenAL or AudioQueue is OK. Thanks. ...

XML answer problem

Hi, I tried to read the response data from google weather api, but german umlauts aren't shown correctly. Instead of "ö" I get "^". I think the problem are those two lines of code: CXMLElement *resultElement = [nodes objectAtIndex:0]; description = [[[[resultElement attributeForName:@"data"] stringValue] copy] autorelease]; How can i...

Ipad - Display thumbnail from video

Hi, I have a video store in my bundle, how can I display a thumbnail of it with the new Media Player Framework from the Ipad (thumbnail + the white play button on it), I can also store my video online it will be better. Someone have an idea? best Regards, ...

iPad UIImagePicker in UIPopoverController selecting only Saved images (not from Album)???

Hi there, In my iPad application, I'm letting the user select an image using the following code: UIImagePickerController* picker = [[UIImagePickerController alloc] init]; picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; picker.delegate = self; UIPopoverController *popover = [[UIPopoverController alloc] initWithCon...

iPhone/iPad rotation

Hello guys! How can I detect the start of a rotation and the end of the rotation on these devices? EDIT: So after your answers, how can I detect the begining and ending of the orientation change. ...

Create slideshow with photos from photoalbum on iPad

Hi, I want to create a little Slideshow App for iPad with images from iPads photoalbum. Is there a way to get all photos of photoalbum in an array or dictionary? Does someone has samplecode? Thanks for help!! ...

iPad: How Do I Limit the Number of Tabs in UITabBarController?

I'm converting an iPhone app to a universal app, which leaves me with a UITabBarController as the root view controller for a UISplitViewController. That is, the tab bar appears at the bottom of the left-hand view when the iPad is in landscape mode. On the iPhone, the system automatically limited the number of tabs shown in the tab bar t...

Facebook "Like" on iPhone/iPad

Has anyone implemented facebook "Like" on iPhone/iPad? I've done general Facebook Connect implementation before, but it appears they're phasing that out in favour of OAuth and the Graph API? We're trying to give users the ability to "Like" items of content in the app. Each item of content has a corresponding URL for its representation o...

IPhone: how to have read the linenumber/contents of a doc

hi, I want to read the line number like a word doc in my iphone application. I tried using the webUI controller for displaying the doc but could not find any ways for reading the contents/line number. Is there any widget using which i can read the contents/page of the page. TIA ...

Has anyone come across a good article or resource investigating dropdown/flyout site navigation and its use on touchseen devices (iPad/iPhone)?

The question sums it up. ...

An offscreen MKMapView behaves differently in 3.2, 4.0

In 3.1 I've been using an "offscreen" MKMapView to create map images that I can rotate, crop and so forth before presenting them the user. In 3.2 and 4.0 this technique no longer works quite right. Here's some code that illustrates the problem, followed by my theory. // create map view _mapView = [[MKMapView alloc] initWithF...

Safari on the iPhone & iPad gives colour feedback on touch, I want to stop this.

Clicking on an element which has a Javascript handler makes the element go have a 'grey overlay'. This is normally fine but I'm using event delegation to handle the touchdown events of many child elements. Because of the delegation the 'grey overlay' is appearing over the parent element and looks bad and confusing. I could attach event ...

changing a picker to table view OR having multiple table views on the same view

Hello - My iPad app was rejected due to my use of a picker. The picker was used to control a table view. In my view, a picker was displaying a series of items and when one of those items was selected, it used that selection to populate a table with data. (hopefully that makes sense). Now I need to do this without the picker so I need t...

iPad tab bar application needs to support both portrait orientations

Is there an easy way to set my application so that it can automatically rotate to only the portrait modes (no landscape)? ...

UIAlertView in iPad

Hello, What is the standard size of UIAlertView for ipad application? it's same as iPhone? if anybody has some idea please let me know. ...