ipad

What's the difference between a "stream-type" socket and a "datagram" socket type?

What's the difference between a "stream-type" socket and a "datagram" socket type? ...

not able to present mail compose view controller on the view

i hav a button on navigation bar for opening the mail view controller .. i am using view based app and when i tap the button its executes the ibaction i wrote but not presenting the view .... -(IBAction)mailid:(id)sender{ MFMailComposeViewController *controller = [[MFMailComposeViewController alloc] init]; controller.mailComposeDeleg...

Must I close the File Handle when doing this?

Example: NSData *fileData = [fileHandle readDataToEndOfFile]; Am I responsible for closing that file handle? (I think I'm not...but just 99.95% sure!) ...

Best way to dismiss the keyboard in UITextView?

UITextView is multiline. So I can't use the DONE button to dismiss the keyboard. Now what's best practise? Add a navigation bar or toolbar on top and then put an DONE button in there? ...

iPad ViewController configuration for document-based app

Hello, I was wondering what would be the best configuration of view controllers and views for an app that I’ve been planning out. Conceptually, the way I would like to lay out the app is with an initial loader/browser view, likely with document thumbnails. When a user chooses to open one, a new view comes up that forms the main document...

UIPopoverController & UIImagePickerControl: "Popovers cannot be presented from a view which does not have a window"

I am trying to display a UIImagePickerControl in my iPad app. At first, the debugger told me that I needed to put it in a popover when doing it on an iPad. So I wrote the following code: UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; imagePicker.delegate = self; imagePicker.sourceType = UIImagePickerContr...

Scan for Wifi networks on iPhone SDK

Hi, I'm looking for the API to search for networks on the iPhone/iPad, and get data from them. A private API is also OK, the app's for cydia. I know it is possible, because I saw some wardriving apps (in the store). I want that functionality in my app too. Could you please help me out? Thanks, Yvan ...

[UIPopoverController dealloc] reached while popover is still visible.

-(void)showsearch:(id)sender { SearchViewController *searchview =[[SearchViewController alloc] initWithNibName:@"SearchViewController" bundle:nil]; settingpopoverController = [[[UIPopoverController alloc] initWithContentViewController:searchview] autorelease]; [searchview r...

Silverlight application for iPad

Hi All, I want to write silverlight application for iPad device. Is that possible? i have searched on google but not getting exactly. Need proper guidance on it. Any help will be appreciated. Thanks ...

Dragging uiimageview into a "trashcan" while zoomed in on a uiscrollview

Hey everyone. I've searched the web and really haven't found a problem quite like this. My set up is as follows: I am trying to make an app where a user drags uiimageviewss on a uiview inside a uiscrollview (which can zoom in), but also drag the image to a trashcan to be deleted. When the scrollview is zoomed in, the user can still drag ...

Integrating iPad/iPhone App with Rails Application

Hi all, I'm a student working on a project where a need to integrate my iPad (or iPhone) application with a Rails Web App, populating the database from the iOS side and displaying the contents in the web app. I've found ObjectiveResource, but I've had difficulty getting it up and running (went through the getting started, and had the si...

iPhone - dragging on UITableView halts rendering of OpenGL in background

I have an OpenGL-based iPad project. In one view I have objects being rendered and floating on the screen. When I add a transparent UIView on top of this view with a transparent table view with custom cells, I can see the table view and the objects still being rendered. Now - when I go to drag on the table view to scroll through elemen...

How to implement Safari topsite view(Mac) in iPad?

Hi, I am trying to implement Safari top site view in iPad, and i got some info from http://www.raywenderlich.com/2106/core-graphics-101-arcs-and-paths this link for drawing arcs. But i want to draw arc in bothsides of the view, please help me to resolve this issue? ...

Apple Ipad/Iphone Photos App - Delete Photo Animation

Hi, I am looking to create the animation like the one used in the photo app for ipad/iphone for deleting a photo. The photo needs to move to the recycle bin. is this a standard animation? or do we need lots of coding? ...

In need of some code for the iphone SDK (Save an in app picture to your photos)

Im working on my first app for the apple app store and I am in need of the code to be able to see a picture and save it to the photos, also where the code goes, so some what of a tutorial of how to save a picture to the photos app, I am working with the latest version of the iphone SDK. ...

UITextView InputView Autocorrection and Autocapatilization

Hi, I made a program for the iPad. The program uses UITextView Controller. I used my own InputView instead the default iPad keyboard. My problem is when I edit the textview using my inputview, I lost the AutoCorrection and AutoCapitalization features of the textview. Is there a way to have my own textview inputview and still have the aut...

Programmatically autoresizing UITableViewCell containing several subviews

I have a UITableView, which tries to look like a grid: that is I imitate four columns by adding UILabel**s as **cell.contentView subviews. Three of these "columns" have fixed width, and on rotation I want to automatically resize the leftmost column to fill all available space (width of screen minus overall width of three other columns). ...

Targeting iPad via Google Ad Manager/ DFP

I am using Google Ad Manager to publish ads on my websites, most of my ads are flash banners which wont work on ipads so I want to custom target my ads so that they wont be displayed for ipads, but how to do this in DFP ? I found out the user agent for ipad from here but I have no idea how to use this to target my ads. ...

iPad modalPresentationStyle UIModalPresentationFormSheet orientation problem

Hi, I have problem when using modalPresentationStyle. I call the following function in my tabbarcontroller's first view controller's viewDidload So that the login viewController is displayed when app launches But the problem is when I launch app in Landscape mode I can see the login view correctly and I rotate the iPad to portrait mode ...

Glitching whilst using CSS transitions/translate on iPad when scrolling the page

Hi all, I've noticed whilst optimising animations for use on iPad using hardware acceleration, I seem to be coming across an issue that I haven't fully been able to resolve. If you are applying webkit transforms such as translate, although the animation runs great, if in the middle of an animation occuring the user scrolls the page, when...