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 8337643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:21:36+00:00 2026-06-09T04:21:36+00:00

With regards to Monotouch IOS development: Can anyone write me a code snippet, or

  • 0

With regards to Monotouch IOS development:

Can anyone write me a code snippet, or refer me to one, of how to have Text inside of a UIScrollView and have the text NOT get blurry as you zoom in? Either using CALayer or just re-rendering it once zoom has ended. I have been attempting this for the past week and cannot seem to get anything working. I have not found any good examples regarding this either.

I found a similar post on stack overflow citing they used CALayer, but not example was given on how to do this: Text getting blur on zoom-in

Thanks all

  • 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-09T04:21:37+00:00Added an answer on June 9, 2026 at 4:21 am

    You need to set the ContentsScale property of the layer based on the zoom factor.

    In your zooming ended method

    public override void ZoomingEnded(UIScrollView scrollView, UIView withView, float atScale)
    {
        withView.Layer.ContentsScale =  UIScreen.MainScreen.Scale * atScale;
        withView.SetNeedsDisplay();
    }
    

    Note: This assumes you are using a UIScrollViewDelegate

    The reason you multiply by the MainScreen scale is to support retina displays.

    I’m updating the views layer, but you will need to update which ever layer is causing you trouble. You also need to apply the scale to all affected sub layers yourself.

    Hope that helps.

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

Sidebar

Related Questions

Can any one help me. I have this ‘unmanaged’ .NET code, which works on
In regards to: Find Hyperlinks in Text using Python (twitter related) How can I
This question regards how one can effectively create and persist event domain objects on
My question regards how to design a database. I have one table, called posts,
Regards to the following code: int[] to = new int[] { text }; I
With regards this example from Code Complete: Comparison Compare(int value1, int value2) { if
In regards to Can a PHP Proxy call Javascript functions like a click I'm
I just have a question in regards to threads that run concurrently and the
I just have a little question with regards to connecting C to MySQL. Well,
There is no doubt that MonoTouch is one of the great cross-compiler(s). Similarly, SenchaTouch

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.