2010-04-28 32 views

回答

2

沒有試過,但我會做這樣的:

  1. 創建CGLayer
  2. 通過調用CGLayerGetContext()獲取層的上下文。
  3. [view.layer renderInContext:]將視圖繪製到圖層的圖形上下文。