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
138
votes
4 answers

Why there is no "Home" button in iPad simulator in iOS 5.1 SDK?

How to simulator the action of "press the home button"?
smoothdvd
  • 2,389
  • 4
  • 20
  • 25
138
votes
9 answers

How to draw a custom UIView that is just a circle - iPhone app

How would I go about drawing a custom UIView that is literally just a ball (a 2D circle)? Would I just override the drawRect method? And can someone show me the code for drawing a blue circle? Also, would it be okay to change the frame of that view…
StanLe
  • 5,037
  • 9
  • 38
  • 41
136
votes
27 answers

UIScrollView not scrolling

I have a UIScrollView which contains many UIImageViews, UILabels, etc... the labels are much longer that the UIScrollView, but when I run the app, I cannot click and scroll down... Why might this be? Thanks
Mark
  • 14,820
  • 17
  • 99
  • 159
134
votes
17 answers

UILabel is not auto-shrinking text to fit label size

I have this strange issue, and im dealing with it for more than 8 hours now.. Depending on situation i have to calculate UILabels size dynamically, e.g my UIViewController receives an event and i change UILabels size. from bigger to smaller. The…
Lukas
  • 2,515
  • 4
  • 28
  • 37
134
votes
5 answers

How can I save an image to the camera roll?

I am new to Xcode (using 4.3) and am not sure how to save an image to the device's camera roll. All that I have done so far is set up an IBAction for the button to save the image. What library method or function can I use to save an image to the…
user1470914
  • 1,367
  • 2
  • 9
  • 10
133
votes
2 answers

How do I access the host machine itself from the iPhone simulator

I'm developing an app that connects to a web service for most of it's operations. As a shortcut, I'd like to run a copy of my development server on my machine. Question is: How/can I access the host machine's network (http in this case) from the…
Jordan Walsh
  • 1,505
  • 2
  • 9
  • 8
132
votes
27 answers

iPad/iPhone hover problem causes the user to double click a link

I have some websites I built times ago, that use jquery mouse events...I just got an ipad and i noticed that all the mouse over events are translated in clicks...so for instance i have to do two clicks instead of one..(the first hover, than the…
Francesco
  • 24,839
  • 29
  • 105
  • 152
129
votes
9 answers

UITableView backgroundColor always gray on iPad

When I set the backgroundColor for my UITableView it works fine on iPhone (device and simulator) but NOT on the iPad simulator. Instead I get a light gray background for any color I set including groupTableViewBackgroundColor. Steps to…
rjobidon
  • 3,055
  • 3
  • 30
  • 36
126
votes
5 answers

jquery-ui sortable | How to get it work on iPad/touchdevices?

How do I get the jQuery-UI sortable feature working on iPad and other touch devices? http://jqueryui.com/demos/sortable/ I tried to using event.preventDefault();, event.cancelBubble=true;, and event.stopPropagation(); with the touchmove and the…
eventhorizon
  • 3,579
  • 3
  • 17
  • 9
122
votes
18 answers

How can I redirect HTTP requests made from an iPad?

Since on an iPad we cannot edit the hosts file (without jailbreaking), how can we arbitrarily redirect web traffic to another url? This would be important for something such as developing a website that uses a Virtual Host configuration where you…
tremoloqui
  • 3,198
  • 3
  • 25
  • 22
120
votes
7 answers

How to detect that animation has ended on UITableView beginUpdates/endUpdates?

I am inserting/deleting table cell using insertRowsAtIndexPaths/deleteRowsAtIndexPaths wrapped in beginUpdates/endUpdates. I am also using beginUpdates/endUpdates when adjusting rowHeight. All these operations are animated by default. How can I…
pixelfreak
  • 17,714
  • 12
  • 90
  • 109
120
votes
15 answers

What is the iPad user agent?

From what I gather, the iPad is using iPhone OS, but with a different screen resolution from the iPhone and iPod touch. So many sites may have to change their user agent detection to adapt to the iPad. So, can anyone with access to the iPad or the…
Yoric
  • 3,348
  • 3
  • 19
  • 26
117
votes
7 answers

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 and wide) that listens for clicks, and an input…
artlung
  • 33,305
  • 16
  • 69
  • 121
115
votes
5 answers

iOS: Access app-info.plist variables in code

I am working on a Universal app & would like to access the values stored in app-info.plist file in my code. Reason: I instantiate a UIViewController dynamically from a storyboard using: UIStoryboard* storyboard = [UIStoryboard…
sherlock
  • 1,521
  • 2
  • 13
  • 17
115
votes
6 answers

javascript scroll event for iPhone/iPad?

I can't seem to capture the scroll event on an iPad. None of these work, what I am doing…
ck_
  • 3,353
  • 5
  • 31
  • 33