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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:27:02+00:00 2026-05-22T20:27:02+00:00

This runs great on iPhone 4 and 3GS: scrollView.layer.cornerRadius = 11; scrollView.layer.masksToBounds = YES;

  • 0

This runs great on iPhone 4 and 3GS:

scrollView.layer.cornerRadius = 11;
scrollView.layer.masksToBounds = YES;

But on iPhone 3G and iPod touch 2nd gen, it makes scrolling really jerky. I know there are some tricks on how to improve performance of CALayer drop shadows for instance (setting shouldRasterize to YES and the shadowPath property), is there anything similar that can be done for CALayer’s cornerRadius?

  • 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-05-22T20:27:02+00:00Added an answer on May 22, 2026 at 8:27 pm

    Is the content behind your scroll view (what’s being displayed under the rounded-off corners) a solid color or otherwise static? If so, you should be able to get way better performance by overlaying “corner” graphics—translucent at their center, and opaque (with your background color or whatever) at their edges—on top of the corners of your scroll view. The cost of compositing four 11×11 images over your content will be dramatically less than that of clipping it.

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

Sidebar

Related Questions

I've got some multi threaded code that typically runs great, but every so often
Okay, so in the IDE it runs great and says the file exists, but
I have a code that works great on iPhone, but when it comes to
I'm developing an iOS app for iPhone and iPad. It runs great on the
Got this code from here http://www.irunmywebsite.com/raphael/drawtool2.php . Runs great in IE when I tested
I have a test which runs great on my development MacBook Pro, but fails
I have a program which does a system call: latex somefile.latex This runs ok,
This code runs on my local RoR/Windows 7 (64-bit): sql = ActiveRecord::Base.connection() last_pk =
When this one runs everything goes fine: (r^newobject$, views.myobjects.newobject), All the CSS + JS
This is pretty interesting, this site runs a speed test and compares all of

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.