learn to use UIDebuggingInformationOverlay class once you’ve called [UIDebuggingInformationOverlay prepareDebuggingOverlay], you can just tap the status bar with two fingers to show the console. So,in the demo,you can touch the green view, and tap the status bar with two fingers to show the console.
运行程序,点击绿色view。然后再两个手指tap下状态栏就可以了