ipad

How to auto-resize UIView proportionally?

I have a UIView whose height should always be exactly 1.5 times the width. When the view is auto-resized (in this case, because the iPhone is rotated), this proportion gets messed up. How can I make sure the height/width ratio doesn't change as the view resizes? ...

Modifying/Animating a UISplitView on iPad - Navbar issues

I am creating an iPad application using a UISplitView. I used the default template for that type of application in Xcode. The UISplitView has a left pane (menu or list) and a right pane (detail or content view) in it. Each has a navigation bar at the top of the view. What I want to do is move (with animation) both views to the left so t...

What type of webservice works best with iOS?

I'm going to be creating an internal app for the iPhone and iPad that will keep track of sales calls, the associated quotes, photos, and drawings for those quotes. I'm still in the concept design phase and I'm trying to read up on the different ways to communicate between my app and the webservice. Obviously since this will be used mostl...

How to popup a new view on top of a UISplitView

I have a split view based iPad application. I need to popup a new view that takes over full screen. How do I do that? ...

How to display an html page at the width of the "Form sheet" modal on iPad without hard-coding the page width?

I know the width of the "Form sheet" modal on the iPad screen (540 x 620), the width of iPad screen (768 x 1024), and the width iPhone screen (320 x 480)… but when loading an html page into the "Form sheet" modal the width defaults to the device width per the viewport meta tag: <meta name="viewport" content="width=device-width"> This ...

Cannot find UILabelAdditions.h

I've been struggling with this for a few hours now. I have included a newer version of Three20 in an iPad app, and can compile just fine with my debug build. Whenever I switch to another build, even a duplicate of debug, I get about 78 errors stating that UILabelAdditions.h could not be found. It is in the Three20/src/Three20 dire...

mpmovieplayercontroller Issues ipad

Hi i have created app for ipad , it has an video files in resource folder and it plays when the user click play button. It works for first time user clicks play button but when user plays subsequent times of video file.The issues occurs that is the video is not play only audio is playing.These issues occurs not randomly but some more t...

iPad and Viewports

Im currently developing a WebApp for the iPad, now it depends on the viewport (screen-width and screen-height) Im currently looking to somehow make it dynamic so when the user rotates the ipad, it actually resizes the viewport of the page Has anyone done this or attempted it and been successful, i would think its just a small snippet o...

Video won't play in iPad simulator

I am trying to load a short movie file (.m4v) before the application starts However, when I using the ipad simulator, only the sound plays. There is no video running. If I change the simulator to iphone simulator, the video plays just fine. I use MPMoviePlayerController to play the movie file I even downloaded the sample mediaPlayer f...

Display view controller's view using custom animation iOS

Hi, I have a button that, when pressed, presents a view controller to the user. I currently do this using a method like this: ProjectViewController *myProj = [[ProjectViewController alloc] init]; myProj.modalTransitionStyle = UIModalTransitionStyleCrossDissolve; myProj.modalPresentationStyle = UIModalPresentationFullScreen; UINavigati...

UISearchDisplayController automatically creates a UIPopovercontroller to display content search result ?! How to dismiss it ?

Hi, I'm using a UISearchDisplayController with a UISearchBar. I put this UISearchBar in my app using IB and I get : Fine : when you start taping, the result popovercontroller appears magically (I didn't write anything on my own to make it appear !) Then, when a row is clicked among the result, I want to dismiss the PopoverController...

Can I run an ASP.NET MVC2 website with a database from the iPad locally? (iPhone)

I really want to run my test websites from an iPad to show to clients but I don't want to have to rely on the 3g connectivity or wifi. Can I run sites that are compiled from an App or something similar on the iPad? I have seen Mono Touch but I wanted first hand views on this as if I can I'm going to buy an iPad ASAP. ...

addObserver questions, try to check if data is loaded

I have a ViewController that initializes another class that loads data into a mutable array and saves it as a property on itself. here is my ViewController init code: -(id) initWithCollectionID:(NSString *)aCollectionID { if (self = [super init]){ collectionID=aCollectionID; dataSource = [[CollectionListDataSource...

iPad VGA output - how to remove the extra UIScreen

I have the need to display a specific view on a separate screen, similar to how Keynotes handles presentation mode. I've managed this successfully by checking how many screens are available, and then adding the view I want displayed as a subview of the second window. However, if I dismiss the parent view that handles the creation of th...

iPhone-Simulator Cropper for iPad?

Has anyone been able to get iPhone-Simulator Cropper or a similar tool working for the iPad? The website claims that it works with the iPad, but when I try to use it I get an error that the screen is the wrong size. If not iPhone-Simulator Cropper, is there another tool that does the same thing? ...

Alert when leaving/login WebView for my site

I have an app using WebView. when the user clicks the login button from the Webview(loginpage.php).he have to redirected to my application with the login credientials. i have tried this URL but i cant resolve my problem. http://www.iphonedevsdk.com/forum/iphone-sdk-development/41113-alert-when-leaving-webview-appstore.html (BOOL)webVi...

UISplitViewController detailView

I have an UISplitViewController base project. I want to have a different detail View depending the orientation of the app. Exemple : In landscape when I select a row in the TableView, I want the detailView to be an UIWebView. But in portrait I want the detail view to be a complex custom view. Is it possible ? Thanks. ...

improving performance of a CATiledView

I have been looking for a way to improve the performance of my CATiledView. The view takes up nearly the entire screen (i have an iPad and iPhone version).Currently it takes about 12 seconds for the tiles to fill in completely (12 seconds on both devices). I have seen other apps use CATiledView and it take much less time for the tiles to...

UISliders and UIButton stop working in landscape mode

Hi all, I can't seem to find anyone who's had a similar problem so hopefully someone on here can help me with what might be a very obvious problem. Basically my program currently has a bunch of UISliders, UIButtons, and text boxes in it. Although I laid out all of this in landscape (I plan on having this view work only in land scape, o...

iphone - how to extend a button touch area?

I have 5 round buttons in a row, each one, 40x40 pixels. Between each one, I have 20 pixels. 40x40 pixels is too small to touch, but as I have 20 pixels of space between each button I can extend the button touch area to 60x60 pixels, making it easy to touch. I could simply using the dirty solution of creating a square 60x60 pixels trans...