ipad

How can I develop production iPhone apps and iPad apps on the same machine?

It seems that in the future, we can just use the non-beta iPhone SDK to develop for both at once. But for now, the only way to develop for iPad seems to be to use the SDK 3.2 beta. However, if I install that, Apple clearly states I should not submit apps to the app store with it. I'm an independent, one-machine developer. Is there a ...

XCode Developer Documentation crashes after clicking any link on the startup screen

I just installed XCode 3.2.1. When I open the Developer Documentation and click any link on the startup screen, XCode crashes. Has anyone run into this problem? Also hints as to how to debug would be excellent -- I've only been using XCode for a week. I can still get into the documentation if I open some code and then right-click a s...

iphone - manipulating movies

Is there a way to manipulate movies in iphone in a way I can have, for example, the exact timecode in realtime of a movie being played? or the timecode of a movie being scrubbed? And, btw, there's a way to scrub a video like the video edit mode of iPhone 3GS? Can you guys pinpoint me a way to follow, if any? thanks for any help. ...

Animating corner like in iPhone's maps app?

Is there a way to make the same type of corner like in the maps app on the iPhone (or in the books app on the iPad when turning the pages)? ...

iphone - compiler conditionals

Two questions: this code #ifdef __IPHONE_3_0 // iPhone 3.0 specific stuff #else // iPhone 2.2 specific stuff #endif compiles specific codes for specific versions of the iPhone. How could this be transformed to compile for a range of devices? For example: if iphone version < 3.1 or if version >= 3.2, and so one... 2) where do...

How to control which keyboard is displayed when a user touches a text field in iPad?

I am currently developing a web application to be run in iPad. How do I control which keyboard is displayed when a user touches a text field? input type="text" pattern="[0-9]*" I have tried the above html codes which tested working in ITouch but in the Apple iPad SDK emulator, it imply brings up the normal keyboard. Any idea? Thank...

AVAudioRecorder - Continue recording to file after user stops recording by leaving the application and then re-opens it

Can this be done? And if not, how far down towards Core Audio do I need to go (what method of recording should I be using instead)? I've noticed the behavior of AVAudioRecorder is to overwrite a file if it finds one at the path provided when you request that it record again, so I know that's not going to work. I'm also curious about fil...

Cocoa Touch text view with aligned, justified text

I am trying to create a textview with predefined height that will contain justified text. When entering the text into the view, I need to be able to check when the view is full. How would I do this? Core Text? I am using sdk-3.2. ...

Core Text examples for iPhone/iPad

I am looking for a Core Text example for iphone/ipad but with little luck. Any leads would be appreciated. ...

Optional Navigation Controller

I have an application containing a variety of view controllers linked together in different ways (Welcome > Browse > Preview OR Browse > Preview OR Settings > Splash). The first view controller is presented modally using a navigation controller from a main controller, then the next set of view controllers are added using pop and push. ...

iPhone - Prohobit UIView from rotating when the device is turned

I haven't been able to figure this out. Could someone please help me? I am trying to stop one UIView in my app from rotating when the device is turned. I am working on a drawing app. Right now, when the device is turned, all UI elements turn with it. What I am trying to do is have all the buttons, menus, etc. turn, but have my canvas U...

Changing view size when orientation changes

I want my UIView subclass to behave so that when it is fitted in portrait orientation is has a certain size and another size when fitted in landscape mode. Is it possible to have the view indicate to the view controller that's resizing it when the orientation changes that it has this "ideal size"? To clarify, I'm confident that this is...

does anyone find ipad simulator has bug in message forwarding?

I have problem with button click. I put a button in a view which is put in a view controller in a navigation controller stack. it is a little complex. but the problem is weird. when I click the top of the button, the action of the button can be triggered. but when I click the bottom, the action is not called at all. does anyone have the ...

How to test an iPad app's speed without an iPad when the simulator runs faster?

Title says it all: I have some operations in my iPad app that are CPU-intensive, and I'd really like to be able to test them on the simulator, making sure things will still run smoothly on the actual iPad. Is there any way I can do this? ...

Calling function from popover.

Alright, so I made a popover from my main view and all that good stuff. But I want to have my popover call an action in my main view when a button within the popover is pressed. MainView *mainView = [[MainView alloc] initWithNibName:@"MainView" bundle:nil]; [mainView doStuff]; The "dostuff" function changes some elements within the vie...

Another drag and drop question on iPhone

Dear All, I tried to find an easy solution for the following. I have a main view which holds a tile. I want to drag and drop it over a UITableView. I could program the pick and drag already with UIGestureRecognizer. Now my problem is how can I detect within the table view that there is an item going to be dragged above it. For instance...

In Safari for iPad is it possible to have multiple scrolling areas?

I'm building a web app and I was wondering how it would work in Safari on the ipad, can I have multiple scrolling areas? ...

How to get iPhone, not iPad view in Interface Builder

At first, I was not able to build a new blank project to iPhone using the new XCode 3.2 beta. I edited the project settings and was able to build the blank app to iPhone simulator. However, when I open the nib for the project in IB and click the view, it opens an iPad size view. How do I get the right sized view to work on in IB? ...

UISplitViewController in a TabBar ( UITabBarController )?

Hi all, I am in kind of situation that I need to start with a tab based application and in that I need a split view for one or more tabs. But it seems that split view controller object can not be added to the tabbarController. (Although tabbar object can be added to the splitviewcontroller). The problem can be seen otherways: I have a ...

Change table view ( tableview style grouped ) background color ?

Hi all, I am developing an iPad application in which I need a table view ( style grouped ) having background color as clearColor. My problem is [self.tableView setBackgroundColor:[UIColor clearColor]]; works well if the table view style is plain but when I switch to group table view the background color does not changes it stays gr...