Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8217443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:28:18+00:00 2026-06-07T12:28:18+00:00

Has anyone gotten multi-touch zoom to work on a textView? I have searched SO

  • 0

Has anyone gotten multi-touch zoom to work on a textView?

I have searched SO and found no simple way to zoom in on a UITextView or UIScrollView. I was led to this link which says I need to write custom views to overwrite the existing ones in order to be able to zoom in to a textView. I can not believe this and would like someone to please let me know if there is a simple way to zoom in and zoom out using multi-touch on a UITextView or a UIScrollView.

I tried setting the options in the IB to enable multi-touch as well as the max zoom. But this does not work.

Please advise. Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T12:28:20+00:00Added an answer on June 7, 2026 at 12:28 pm

    1 Create a new project with single view (using storyboard & arc)

    2 Open Storyboard and add a UIScrollView to your main view controller

    3 Set the UIScrollView’s delegate to the view controller and create an IBOutlet for the UIScrollView called scrollview

    4 Add a UITextView to the scrollview and set an IBOutlet called textview

    5 At the end of the ViewDidLoad add the following code:

    self.scrollview.minimumZoomScale = 0.5;
    self.scrollview.maximumZoomScale = 5.0;
    self.textview.text = @"Hellow World!";
    

    6 Add the following method

    - (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView {
        return self.textview;
    }
    

    7 Run the project and zoom away!

    If you want the text to look not render blurry when use the answer at this Blurry UITextField Question

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone gotten the glassfish v3 adapter to work with Eclipse without restarting every
Has anyone gotten the Globalize plugin to work Rails 2.3.2 or later? If so,
Has anyone gotten Fluent NHibernate to work with Castle ActiveRecord? I am particularly interested
Has anyone successfully gotten swfaddress to work with IE8 and above? It seems that
Has anyone gotten Multicast to work on Android 2.2, specifically JmDNS for Bonjour service
Has anyone gotten the IFilter sample from Microsoft to work on 64bit Windows 7?
Has anyone gotten the Open Source QR Code Library to work with ColdFusion? I
Has anyone gotten dotNetOpenAuth to work with F# and ASP.NET MVC yet? I've corrected
Has ANYONE gotten a web service call to work with SharePoint to operate with
has anyone gotten this http://www.xarg.org/project/jquery-webcam-plugin/ , to work with aps.net mvc 3? I can't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.