Home > Articles > Programming > General Programming/Other Languages

  • Print
  • + Share This
This chapter is from the book


  • Q. Why can’t I use a UILabel in place of a UITextView for multiline output?

    A. You certainly can. The text view, however, provides scrolling functionality “for free,” whereas the label displays only the amount of text that fits within its bounds.

  • Q. Why doesn’t Apple just handle hiding text input keyboards for us?

    A. Although I can imagine some circumstances where it would be nice if this were an automatic action, it isn’t difficult to implement a method to hide the keyboard. This gives you total control over the application interface—something you’ll grow to appreciate.

  • Q. Are text views (UITextView) the only way to implement scrolling content?

    A. No. You’ll learn about implementing general scrolling behavior in Hour 9, “Using Advanced Interface Objects and Views.”

  • + Share This
  • 🔖 Save To Your Account