zoukankan      html  css  js  c++  java
  • IOS Simulator Create Keyboard Shortcut

     
    A .   Create a soft link for Simulator (in Termimal).
     
    open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/

    Then right click "iOS Simulator" and "Make Alias" , then drag your "iOS Simulator Alias" to "/Applications" folder , and rename to "iOS Simulator"

     
    Or Just Do :
    Xcode 5 :

    sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app /Applications/iOS\ Simulator.app

    Xcode 6 :

    ln -s /Applications/Xcode.app/Contents/Developer/Applications/iOS\ Simulator.app /Applications/iOS\ Simulator.app

    After all , you will see :

     
     
    B .   Navigate to Simulator 
     
    System Preferences > Keyboard > Shortcuts > Application Shortcuts
    Click "+" button. and in “Application” text field choose "Other" :
     
    In your Applications Folder:
    /Applications/iOS\ Simulator.app
    (choose the soft link we created in the A step)
     
    or  
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app
     
    Figure B - 1  :
     
     
     
    Figure B - 2 :
     
     
     
     
     
    C .   Assign the Reset Shortcut :
    Menu Title : "Reset Content and Settings..." (three periods)
    
    Shortcut :  "Command(⌘) + R"
     
     
     
     
     
    Finally , trigger the  COMMAND + R :
     
     
     
    Take a look at stackoverflow.com : How can I reset the iOs Simulator from the command line
     
     
  • 相关阅读:
    Html5 冒泡排序演示
    Html5 Json应用
    Html5 和 CSS的简单应用
    Html5 布局方式
    Html5 绘制五星红旗
    Html5 绘制旋转的太极图
    Html5绘制时钟
    Html5 实现灯笼绘制
    "电量信息"组件:<battery> —— 快应用组件库H-UI
    "系统音量"组件:<volume> —— 快应用组件库H-UI
  • 原文地址:https://www.cnblogs.com/makemelike/p/2816186.html
Copyright © 2011-2022 走看看