简体   繁体   中英

iOS: how to run simulator at half speed?

there is a transition that is happening quickly, as well as a network all that's happening quite fast, and I need a way to slow things down to debug an issue with these. however because Yosemite no longer allows throttling of network bandwidth, I cannot slow down the network call easily (the server is not mine),so now my goal is to slow down the simulator. is this possible?

You can download and instal Network Link Conditioner. Go to XCode > Open Developer Tools > More Developer Tools and find Hardware IO Tools for Xcode for your version. Download, open and install Network Link Conditioner:

在此处输入图片说明

In Network Link Conditioner utility you can manage your connection quality by choosing profile from menu:

在此处输入图片说明

shpasta's answer addresses slowing down the network, but you also mention a fast (UI?) transition. If you need to see what's happening during things like rotation animations and navigation transition animations (say, to see how your CAAnimation parameters or your layout changes are working out), you can slow those down in the Simulator by choosing Slow Animations (⌘T) from the Debug menu .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM