mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-05-30 15:55:16 +08:00
Update debug-tool-pixel-scaling.md
This commit is contained in:
@@ -32,6 +32,6 @@ In the screenshot below of an app with this debug feature enabled, you can see t
|
||||
In your `AppDelegate.m` file,
|
||||
<ul>
|
||||
<li>import `AsyncDisplayKit+Debug.h`</li>
|
||||
<li>add `[ASImageNode setShouldShowImageScalingOverlay:YES];` at the top of your `didFinishLaunchingWithOptions:` method</li>
|
||||
<li>add `[ASImageNode setShouldShowImageScalingOverlay:YES]` at the top of your `didFinishLaunchingWithOptions:` method</li>
|
||||
</ul>
|
||||
Make sure to call this method before initializing any ASImageNodes.
|
||||
|
||||
Reference in New Issue
Block a user