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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:17:51+00:00 2026-06-12T12:17:51+00:00

My iPad app is master-detail styled. The detail view contains a self-defined view (let’s

  • 0

My iPad app is master-detail styled. The detail view contains a self-defined view (let’s call it board view), all contents in that view are drawn in drawRect(). When iPad rotates orientation, because detail view size is changed, it needs to redraw the whole board view. Everything works fine so far. But I noticed one problem that when iPad rotates orientation, my app always delay a couple of seconds before rotate the screen. I checked the Mail application, when iPad rotates, its screen rotates immediately.

I wonder how to debug such performance problem. Is that because the board view’s drawRect() performs too slow?

  • 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-12T12:17:52+00:00Added an answer on June 12, 2026 at 12:17 pm

    I wonder how to debug such performance problem. Is that because the board view’s drawRect() performs too slow?

    You find this out by running your application in instruments (Product–>Profile or cmd-I) and choosing the time profiler. When you rotate the device you should see a spike on CPU activity – instruments will tell you where this time is being spent.

    It probably is drawRect, if you are redrawing the whole view and it is a complex drawing operation. However, it’s hard to assist further at this stage.

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

Sidebar

Related Questions

I'm created a Master Detail app on Xcode 4.x for iPad. I've tried adding
I have created split view based ipad app, where master view is table view
I have a master-detail app that is working great for the iPad. However, the
I am creating an iPad app using the master-detail template available in Xcode 4.3.
I'm using UISplitViewController for app on iPad. The first task was to show master
In a split-view-based iPad app I'm using a custom background image in my navigation
I have a split view app running fine on the iPad. It is using
I am working on an iPad app with a split view controller. I have
I'm trying to put together an iPad app using UISplitViewController and storyboards. The master
I have some details stored inside an NSDictionary. I'm using a Master-Detail view on

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.