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 is a tablet computer designed by Apple running the operating system. iPad applications are usually written in and in the IDE, although it's possible to use other tools to build iPad applications as well.

Only use if you have problems with the hardware itself. For iPad Mini related questions use .

Models:

  1. iPad series:

    • iPad (1st generation)
    • iPad 2
    • iPad (3rd generation)
    • iPad (4th generation)
    • iPad (2017, 5th generation)
    • iPad (2018)
  2. iPad Mini series:

    • iPad Mini (1st generation)
    • iPad Mini 2
    • iPad Mini 3
    • iPad Mini 4
    • iPad Mini (2019)
  3. iPad Air series:

    • iPad Air (1st generation)
    • iPad Air 2
    • iPad Air (2019)
  4. iPad Pro series:

    • iPad Pro 12.9-inch (1st generation)
    • iPad Pro 9.7-inch (1st generation)
    • iPad Pro 10.5-inch (1st generation)
    • iPad Pro 12.9-inch (2nd generation)
    • iPad Pro 11-inch (1st generation)
    • iPad Pro 12.9-inch (3rd generation)

Resources


Related

34728 questions
101
votes
11 answers

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, first to zoom all the way in (the normal double tap…
Elisabeth
  • 2,972
  • 6
  • 35
  • 39
100
votes
7 answers

How to write a BOOL predicate in Core Data?

I have an attribute of type BOOL and I want to perform a search for all managed objects where this attribute is YES. For string attributes it is straightforward. I create a predicate like this: NSPredicate *predicate = [NSPredicate…
Proud Member
  • 40,078
  • 47
  • 146
  • 231
100
votes
10 answers

iOS Development: How can I induce low memory warnings on device?

I'd like to test my app functions well in low memory conditions, but it's difficult to test. How can I induce low memory warnings that trigger the didReceiveMemoryWarning method in my views when the app is running on the device, not the simulator? …
BeachRunnerFred
  • 18,070
  • 35
  • 139
  • 238
99
votes
2 answers

iPad Safari: How to disable the quick blinking effect when a link has been hit

Is there any way to disable that? I only mean in the browser... When you click a link or a button or a div that has a click function on it, it flickers a grey box where you clicked quickly. How do i prevent this?
cat
  • 1,587
  • 4
  • 15
  • 15
98
votes
16 answers

Is it possible to force ignore the :hover pseudoclass for iPhone/iPad users?

I have some css menus on my site that expand with :hover (without js) This works in a semi-broken way on iDevices, for example a tap will activate the :hover rule and expand the menu, but then tapping elsewhere doesn't remove the :hover. Also if…
Christopher Camps
  • 1,283
  • 1
  • 9
  • 10
97
votes
14 answers

Can I edit an iPad's host file?

I doubt this is possible without extensive jail-breaking, but is it at all possible to edit the iPad's (or any iOS device's) hosts file?
Ahmed Nuaman
  • 12,662
  • 15
  • 55
  • 87
96
votes
15 answers

Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES'

My app (iPad;iOS 6) is a landscape only application, but when I try using a UIPopoverController to display the photo library it throws this error: Supported orientations has no common orientation with the application, and shouldAutorotate is…
Destiny Dawn
  • 1,457
  • 3
  • 15
  • 29
94
votes
37 answers

How to restrict UITextField to take only numbers in Swift?

I want the user to only enter numeric values in a UITextField. On iPhone we can show the numeric keyboard, but on iPad the user can switch to any keyboard. Is there any way to restrict user to enter only numeric values in a UITextField? Note: This…
user5034941
93
votes
8 answers

What major ASIHTTPRequest features is AFNetworking missing?

With work having recently stopped on ASIHTTPRequest, it seems like attention is shifting to AFNetworking. However, I've not yet found a good comparison of the features of the two libraries, so I don't know what I might lose if/when I switch…
JosephH
  • 37,173
  • 19
  • 130
  • 154
93
votes
8 answers

Basic Drag and Drop in iOS

I want to have a view in which there are vehicles driving around that the user can also drag and drop. What do you think is the best large-scale strategy for doing this? Is it best to get touch events from the views representing the vehicles, or…
Luke
  • 7,110
  • 6
  • 45
  • 74
92
votes
10 answers

Converting NSData to NSString in Objective c

I want to convert NSData to NSString..What is the best way to do this? I am using this code but the final string returns null NSString *str = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; NSLog(@"%@",str); When I see console…
Mehul Mistri
  • 15,037
  • 14
  • 70
  • 94
92
votes
8 answers

window.onbeforeunload not working on the iPad?

Does anyone know if the onbeforeunload event is supported on the iPad and/or if there's a different way to use it? I've tried pretty much everything, and it seems like the onbeforeunload event is never triggered on the iPad (Safari…
Art Zambrano
  • 929
  • 1
  • 7
  • 4
92
votes
16 answers

Autoplay audio files on an iPad with HTML5

I'm trying to get an audio file to autoplay in Safari on an iPad. If I go to the page using Safari on my Mac, it's fine. On the iPad, autoplay does not work.
milesmeow
  • 3,688
  • 5
  • 35
  • 58
91
votes
5 answers

What is the iOS 5.0 user agent string?

What is the iOS 5.0 user agent string? Here is the iOS 4.0 user agent: What is the iPhone 4 user-agent?
chown
  • 51,908
  • 16
  • 134
  • 170
91
votes
10 answers

iPhone/iPad browser simulator?

I need to see how my webpages are looking on an iPhone and iPad on my windows desktop. Is this possible? A quick search yielded some iPhone testing sites, which seemed like what I wanted. However, they are wildly inaccurate when I compared against…
at.
  • 50,922
  • 104
  • 292
  • 461