ipad

Tablet(iPad/Android)-Server Communication Protocol

Hi All, I am going to build a client-server application. The client here is an iPad (or an android-based) tablet. The server is a normal pc. Both the clients and the server are connected to the same network (using WiFi). Is there a standard way (protocol) for communication between the clients and the server? Are there any framework th...

How do I find the frame of a UIView in the context of a UIScrollView?

Hi, I'm trying to place a UIPopoverController to display when a UIButton is tapped. However, the UIButton is placed within a UIScrollView and so its frame is offset by the scroll amount. Is there an easy way of finding out a view's frame as it appears in the context of the screen? Or do I just need to do a subtraction between the UIBut...

xcode: convert iphone to ipad issue

I am trying to convert an iphone project to an ipad but having a build issue for the new ipad version. I was able to convert the iphone project to ipad 3.2 and run it. When I run it it shows up in the ipad simulator as an iphone app. (Which is fine) I then changed the simulator to iPad 4.1 with the new target of iPad When I do a bui...

selectedBackgroundView on UITableViewCell gets applied to all views in cell

I have a table cell being displayed that shows a users image, name and some text. The user's image is 50x50, but I want a border around it so I set the view to center the image and set the frame to 52x52 and then set the background color of that view to my border color. That shows a 1 pixel border around the image. I also want to show...

How to make a dragging UIView decelerating?

Hi all, I have a UIView that can be dragged with the finger which I've implemented by using a UIPanGestureRecognizer. This allows me to drag a view horizontally ; left or right. I make my view moving while receiving the following state from the UIPanGestureRecognizer (using the translationInView: method): UIGestureRecognizerStateBega...

Access another methods sender

Hey guys, So I'm pretty new to Objective-C and kind of just learning as I go here. So I have a method that passes on its sender when called to another method. So when called internally I can call it like this: [self insertNewDBInfoConnection:sender]; Here's where I hit a bump in the road. this insertNewDBInfoConnection: is only going...

Mpmovieplayercontroller in iPad - No Video only audio

Hello, I am developing an iPad app where I am playing the videos stored within the app itself. I am representing the list of videos in a table view. When I select a row, the video corresponding to that row plays. But while performing this, sometimes screen goes black , no video is visible but only audio is playing. I am aware that mak...

How do I check to see if an iPad has an e-mail account setup and active in Cocoa Touch?

I have a modal e-mail construction window that comes up in my app but if I disable all email accounts on my iPad that modal window freezes when called. I would like to check if an e-mail account is active on the device before calling the window...anyone have any ideas? ...

UITable cell selection in a SplitViewController

I have a UISplitViewController with a Table View for navigation. It's similar to the Mail app. When you click on a table view in portrait mode, the popup hides itself. When you click on the nav bar to get the popup back, the selected item no longer appears selected. How can make this item appear selected without re-selecting the item? (j...

MPMediaPickerController on iPad - bottom of view not accepting touch events

I'm having some trouble with this Media picker on iPad... I can easily recreate the problem in a fresh View-based application. 1) Create new View-Based application for iPad in XCode 2) Open the source for the View Controller and add the following - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; MPMedia...

Units in HTML for iPhone/iPad

What CSS measurement unit should I use for the dimensions (widths, heights, margins, paddings, fonts, etc.) of an embedded HTML resource that should run both on iPhone and iPad? Or should I use alternate CSS styles for iPhone/iPad instead? I would like the content of this resource to look well on both devices, without having two creat...

Selection of tableview cell's index path

Hi all, I have a question regarding the selection of table cells. I have three grouped tables which are used as forms, only one of which should be in view at a time. So in the nav controller I have a button which presents another table in a popover with the title of all three forms and will control which form is currently available. So...

App-store: Is it a good idea to include a youtube video link in the description of an app?

Will the viewers be able to click on a link from a description or is this not possible as far as how the app-store works? I'd like to show the users what the app will look like before they buy it by showing them a video of it on youtube. Thanks p.s and no, this is not a marketing question. Only programmers know the answer to this ques...

Programmatically upload and launch iPhone/iPad application on a device

I am looking for some way to programmatically upload an iPhone/iPad application to a device through USB connection from Mac OS X and launch the application on the device. I know how to do it manually from XCode. The goal is to create test automation of an application on iPhone/iPad device/simulator. Thank you. ...

iPad - dataWithContentsOfURL throws NSRangeException when I load a URL that has data

Hi all... my corporate overlords want me to display image ads for our upcoming iPad application. I'm currently trying to show the image by using the following code: - (UIImage *)getAdImage:(NSString *)adName { NSString *adID = [self getPrivateConfigSettings:adName]; NSString *adUrl = [NSString stringWithFormat:[self getPrivateConf...

View Rotation in MonoTouch iPad Application

Hi All, I'm pretty new to MonoTouch and I'm having problems getting my app to rotate from portrait to landscape mode. My project has two XIB files, the MainWindow added by MonoTouch and MainController.xib which I have added. The MainController has a single label and no other controls. In my Main.cs I have the following to load the Main...

IPhone & IPad: Universal App, Which OS version do my users need?

Hi, I have a universal app for ipad and iphone. What I'm trying to determine is what OS version do my users need to have in order for my app to work? In Xcode, in the top left hand corner I see: "Device - 4.0 | Release | MyAppName" Does this mean they need to have ios 4.0? Also, the weird thing is that my ipad is running ios version 3....

iTunes Connect: do I need to complete 'iOS Paid App' contract before I try to submit my app?

It seems like they want my bank info, tax info, etc in the 'iOS Paid App' contract... must I do all this before myapp has even been approved? ...

iPad adding split view on UIViewController

Hi, I am developing iPad application, which consist of Login screen and once user loged in the next view (UserInformationView) should be a split view. But when I insert the view of SplitView into UserInformationView, it does not display the SplitView. My sample application is as follows. At first I, insert the split view into applicati...

iPad to iPhone image size/layout confusion

I've written an application for the iPad that I'd now like to get working on the iPhone (a universal application). At the moment it runs in the iPhone simulator, but the UIKit elements are positioned using pixel positions - so a lot of them are offscreen. Additionally my UIImages are too big, and need to be scaled to fit the iPhone. How...