Questions tagged [ipad]

iPad is a tablet computer designed by Apple running the iPadOS operating system. iPad applications are usually written in Objective-C or Swift in the Xcode IDE, although it is also possible to use other tools to build iPad applications. Questions that are not dependent on hardware should use the iOS tag instead.

ipad
Filter by
Sorted by
Tagged with
101 votes
11 answers
119k views

How do I reset the scale/zoom of a web app on an orientation change on the iPhone?

When I start my app in portrait mode, it works fine. Then I rotate into landscape and it's scaled up. To get it to scale correctly for the landscape mode I have to double tap on something twice, ...
Elisabeth's user avatar
  • 2,982
71 votes
2 answers
46k views

How to support both iPad and iPhone retina graphics in universal apps

Apple presented new iPad that support retina graphics. I saw this link retina graphic in apple apps. As you can see apple just use "@2x" suffix for retina iPad display. I have an universal app. So ...
rowwingman's user avatar
  • 5,581
50 votes
11 answers
80k views

Detect change in orientation using javascript

Is it possible to detect change in orientation of the browser on the iPad or Galaxy Tab using javascript? I think it's possible using css media queries.
manraj82's user avatar
  • 6,139
46 votes
8 answers
14k views

How to log all methods used in iOS app

I'm taking over the development of an iPad app for a client. There's a substantial amount of work that's already been done and I'm trying to piece together how the whole thing is designed to run. One ...
Phil John's user avatar
  • 1,237
26 votes
4 answers
9k views

instruments with iOS: Why does Memory Monitor disagree with Allocations?

As can been seen in this screen shot from instruments, Allocations thinks my application (Ongo) is only using 7.55 MBs of memory, while Memory Monitor says 53.30. Further more the free system memory ...
Brian's user avatar
  • 885
290 votes
17 answers
170k views

iOS detect if user is on an iPad

I have an app that runs on the iPhone and iPod Touch, it can run on the Retina iPad and everything but there needs to be one adjustment. I need to detect if the current device is an iPad. What code ...
Albert Renshaw's user avatar
157 votes
12 answers
174k views

UIButton Image + Text IOS

I need a UIButton with image & text. Image should be in the top & text comes under the image both should be clickable.
Codesen's user avatar
  • 7,782
102 votes
15 answers
38k views

iOS 7 TableView like in Settings App on iPad

I want to have a group UITableView with the style same like the iPad Settings application Detail view for iOS 7. It is a tableView with rounded corner. Please check the attachment for details. Is ...
Ekra's user avatar
  • 3,261
66 votes
8 answers
130k views

Base64 images to gmail

I'm generating some inline images for an email sent from the iPad. Looks great in all desktop email clients, but gmail doesn't seem to like the base64 image and it shows up as text. Anyone have any ...
Steven Baughman's user avatar
55 votes
2 answers
35k views

How to share keychain data between iOS applications

I am describing a problem for which it took me quite some time to learn the answer. The "GenericKeychain" example is a good start at providing a wrapper for sharing keychain data between applications ...
GtotheB's user avatar
  • 2,727
54 votes
11 answers
40k views

iPad/iPhone browser crashing when loading images in Javascript

I'm trying to build an image gallery in Safari that mimics the iPad photo app. It works perfectly, except that once I load more than 6MB or so worth of images either by adding them to the DOM or ...
Steve Simitzis's user avatar
49 votes
4 answers
83k views

Adding "Open In..." option to iOS app

On iOS devices, the Mail app offers "Open In..." option for attachments. The apps listed have registered their CFBundleDocumentTypes with the OS. What I am wondering is how my app might allow users to ...
westsider's user avatar
  • 4,987
46 votes
10 answers
22k views

what's faster? CSS3 transitions or jQuery animations?

I'm working on an iPad HTML5 app and I've already implemented ontouch support to trigger events faster and I'm using jQuery to target the elements easier, but for the animations I'm using CSS3 ...
Moisés Olmedo's user avatar
43 votes
9 answers
59k views

UITableView infinite scrolling

How do I do an infinite scrolling in a UITableView? I know how to do it using a UIScrollView, in which apple has demonstrated in one of the WWDC's video. I tried doing the following in tableView:...
adit's user avatar
  • 33.2k
37 votes
4 answers
39k views

Landscape Mode ONLY for iPhone or iPad

I want to create an application that doesn't use Portrait mode. I am not sure if I need to edit the plist or have code in addition to the plist
Cocoa Dev's user avatar
  • 9,451
18 votes
10 answers
57k views

iPhone: How to draw line between two points on MapKit?

I have Latitude and Longitude of two points and Want to Draw line between these two points with Pin on MapKit. I have googled but Could not find some suitable solution because the one I found was ...
Azhar's user avatar
  • 20.6k
177 votes
7 answers
178k views

convert UIImage to NSData

I am using this code in my app which will help me to send a image. However, I have an image view with an image. I have no file in appbundle but have the image in my side. How can I change the below ...
Vipin's user avatar
  • 4,718
86 votes
9 answers
127k views

How to use UIPanGestureRecognizer to move object? iPhone/iPad

There are several examples of the UIPanGestureRecognizer class. For example I have read this and I am still not able to use it... On the nib file that I am working on I have a UIView (white rectangle ...
Tono Nam's user avatar
  • 35.2k
66 votes
9 answers
77k views

iPad Safari - Make keyboard disappear

In iPad Safari browser, when I change focus from a textbox to a dropdown, the keyboard still remains... Is there some way (maybe with Javascript) I can hide the keyboard when user blurs from the ...
copenndthagen's user avatar
55 votes
14 answers
23k views

Iphone SDK dismissing Modal ViewControllers on ipad by clicking outside of it

I want to dismiss a FormSheetPresentation modal view controller when the user taps outside the modal view...I have seen a bunch of apps doing this (ebay on ipad for example) but i cant figure out how ...
Daniel's user avatar
  • 22.4k
49 votes
5 answers
111k views

Detect iPhone/iPad purely by css

I've been trying to detect an iPhone or iPad purely by stylesheet. I tried the solution provided here by using @media handheld, only screen and (max-device-width: 480px) {. However, this doesnt seem ...
FLX's user avatar
  • 4,684
48 votes
9 answers
91k views

iOS: Download image from url and save in device

I am trying to download the image from the url http://a3.twimg.com/profile_images/414797877/05052008321_bigger.jpg I am using the following code, but image is not saved in the device. I want to know ...
User97693321's user avatar
  • 3,336
48 votes
5 answers
19k views

Best practices for iOS applications security

When thinking about iPhone/iPad applications security, I can notice that there is: Widely available hacking tools allow filesystem access Network interception, men in the middle attack ==> data ...
AmineG's user avatar
  • 1,918
41 votes
7 answers
38k views

Does UIGestureRecognizer work on a UIWebView?

I am attempting to get a UIGestureRecognizer working with a UIWebview which is a subview of a UIScrollView. This sounds odd but when I have the numberOfTouchesRequired set to 2 the selector fires, but ...
rscott's user avatar
  • 616
41 votes
7 answers
22k views

Modal Dialog Does Not Dismiss Keyboard

I am running into an issue where the keyboard does not get dismissed when leaving a UITextField or UITextView in a UIModalPresentationFormSheet. In addition, I've created a large button to serve as ...
DenVog's user avatar
  • 4,266
38 votes
2 answers
78k views

how to get ip address of iphone programmatically [duplicate]

I got a webserver up and running in iphone by using Mongoose. But the problem is how can I get the ip address of my iphone/ipad to let the user's know where they can access the server. I found that [...
user757812's user avatar
32 votes
12 answers
81k views

Disable scrolling when changing focus form elements ipad web app

I have a web app. I'm trying to disable/prevent the scrolling that occurs when you focus on different form inputs (i.e. the scrolling that occurs as you advance through input elements in a form). I'...
Andrew Samuelsen's user avatar
30 votes
3 answers
22k views

Universal iPhone/iPad application debug compilation error for iPhone testing

I have written an iPhone and iPad universal app which runs fine in the iPad simulator on Xcode, but I would now like to test the iPhone functionality. I seem unable to run the iPhone simulator with ...
andybee's user avatar
  • 1,152
12 votes
1 answer
29k views

Scrolling a UITableView inside a UIScrollView

I have a UITableView which is a subview of a UIView, then that UIView is a subview of a UIScrollView. How do I detect the touches that should scroll the UITableView? The UITableView can get item ...
Altealice's user avatar
  • 3,572
8 votes
3 answers
13k views

How to disable iOS System Sounds

I am working on an iPad app that connects with an accessory that plays sound. When the iPad is connected to the accessory, I would like to mute all system sounds but allow other sounds (iPod). Part ...
Sam's user avatar
  • 27.2k
221 votes
15 answers
164k views

Presenting a UIAlertController properly on an iPad using iOS 8

With iOS 8.0, Apple introduced UIAlertController to replace UIActionSheet. Unfortunately, Apple didn't add any information on how to present it. I found an entry about it on hayaGeek's blog, however, ...
Matt3o12's user avatar
  • 4,302
117 votes
7 answers
107k views

How can I make a jQuery UI 'draggable()' div draggable for touchscreen?

I have a jQuery UI draggable() that works in Firefox and Chrome. The user interface concept is basically click to create a "post-it" type item. Basically, I click or tap on div#everything (100% high ...
artlung's user avatar
  • 33.7k
101 votes
10 answers
181k views

What are the sizes used for the iOS application splash screen?

I am developing an application using the iOS SDK. I need to know what Default splash screen sizes I need.
a111's user avatar
  • 2,145
84 votes
9 answers
256k views

CSS media query to target iPad and iPad only?

Hi I am working with multiple tablet devices, iPad, Galaxy Tab, Acer Iconia, LG 3D Pad and so on. iPad - 1024 x 768 LG Pad - 1280 x 768 Galaxy Tab - 1280 x 800 I want to target iPad only using CSS3 ...
Hossain Khan's user avatar
  • 6,402
37 votes
4 answers
68k views

iOS: Keep an app running like a service

In iOS, how would I instruct the OS to keep my app running even if it is no longer in the foreground? Skype Viber Empatica Zenly And many more apps does this.
Ian Vink's user avatar
  • 68k
37 votes
4 answers
54k views

Objective C: How to upload image and text using HTTP POST?

I've successfully created two different methods where each of them can upload either an image or text. But I am having problem writing a method that can post both text and image simultaneously! // ...
Aleksander Akerø's user avatar
36 votes
8 answers
43k views

iPhone popup menu like iPad popover?

How can i implement this popup menu in iphone app like a popover in ipad? EDIT: This is the best at moment: https://github.com/runway20/PopoverView
elp's user avatar
  • 8,091
36 votes
9 answers
129k views

jQuery click event not working in mobile browsers

the jQuery click event does not seem to be firing in mobile browsers. The HTML is as follows: <!-- This is the main menu --> <ul class="menu"> <li><a href="/home/">HOME<...
Jonathan Moriarty's user avatar
29 votes
9 answers
19k views

Best way to switch between UISplitViewController and other view controllers?

I'm authoring an iPad app. One of the screens in the app is perfectly suited to using a UISplitViewController. However, the top level of the app is a main menu, which I don't want to use a ...
occulus's user avatar
  • 17k
12 votes
2 answers
16k views

UILocalNotification Repeat Interval for Custom Alarm (sun, mon, tue, wed, thu, fri, sat)

I'm using UILocalNotification for Alarm Purpose. I have a custom option for repeat based on weekdays (sun, mon, tue, wed, thu, fri, sat). So many applications did this process. I tried My level best. ...
Ganesh's user avatar
  • 819
9 votes
1 answer
11k views

Is there any framework to highlight text on pdf file after rendering on the iphone

I am trying to work on searching a word on the pdf which is rendered through the drawLayer. Can any one suggest how I should find a word on a pdf and the position (co-ordinates) of the word on the ...
ajay's user avatar
  • 3,285
203 votes
16 answers
95k views

How can I click a button behind a transparent UIView?

Let's say we have a view controller with one sub view. the subview takes up the center of the screen with 100 px margins on all sides. We then add a bunch of little stuff to click on inside that ...
Sean Clark Hess's user avatar
115 votes
29 answers
85k views

Is it possible to use AutoLayout with UITableView's tableHeaderView? [duplicate]

Since I discovered AutoLayout I use it everywhere, now I'm trying to use it with a tableHeaderView. I made a subclass of UIView added everything (labels etc...) I wanted with their constraints, then ...
ItsASecret's user avatar
  • 2,619
110 votes
7 answers
84k views

Is there a UIView resize event?

I have a view that has rows and columns of imageviews in it. If this view is resized, I need to rearrange the imageviews positions. This view is a subview of another view that gets resized. Is ...
live-love's user avatar
  • 50.6k
84 votes
4 answers
40k views

Is it possible to opt your iPad app out of multitasking on iOS 9

I have a large app that I will need some time to optimize for iOS9. Edit: What I am worried about is all the UI getting squeezed together when the app window size is reduced. So my question is, is ...
Zia's user avatar
  • 14.7k
74 votes
12 answers
160k views

IFRAMEs and the Safari on the iPad, how can the user scroll the content?

According to the Apple iOS mantra it should be possible to scroll the contents of an IFRAME by dragging it with two fingers. Unfortunately running the latest version of iOS on the iPad I have yet to ...
Karlth's user avatar
  • 3,267
67 votes
6 answers
16k views

iPad remembering camera permissions after delete—how to clear?

I'm trying to recreate the condition where the following code returns AVAuthorizationStatusNotDetermined: AVAuthorizationStatus authStatus = [AVCaptureDevice authorizationStatusForMediaType:...
Rogare's user avatar
  • 3,244
50 votes
2 answers
16k views

RootViewController animation transition, initial orientation is wrong

So I followed this thread: RootViewController Switch Transition Animation to transit the window.rootViewController from A to B to C. Code looks like this: [UIView transitionWithView:self.window ...
Chris Chen's user avatar
  • 5,347
43 votes
6 answers
52k views

How to check programmatically if an App is installed?

I am developing an iPhone application which will install few third party applications in an enterprise. I have the information about the bundle IDs. Is there a way to check if the application is ...
attisof's user avatar
  • 544
28 votes
3 answers
36k views

What exactly does delegate do in xcode ios project?

I have just been learning iPhone apps development but I have a hard time in understanding what delegate actually means? Can anyone tell me with example what it does and how important it is? Thanks for ...
Newbie's user avatar
  • 2,805

1
2
3 4 5
92