• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UIView drawRect will update whole bounds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIView drawRect will update whole bounds


  • Subject: UIView drawRect will update whole bounds
  • From: li shunnian <email@hidden>
  • Date: Wed, 15 May 2013 18:42:13 +0800

Hi all,
I implement drawRect of a subclass of UIView. I found view will update whole bounds when I switch from another app to myapp. Because I draw a cgimage on the view's bounds, it cost lots of time. Are there some properties of view or layer to make the update rect not to be whole bounds?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: UIView drawRect will update whole bounds
      • From: li shunnian <email@hidden>
    • Re: UIView drawRect will update whole bounds
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: sandboxing and filename extensions
  • Next by Date: Re: Displaying "Trebuchet MS" font
  • Previous by thread: Re: sandboxing and filename extensions
  • Next by thread: Re: UIView drawRect will update whole bounds
  • Index(es):
    • Date
    • Thread