zoukankan      html  css  js  c++  java
  • Xcode

    链接

    Q:

    I used to be able to type with my real mac keyboard after launching the iPhone Simulator. Typing with the on-screen simulator keyboard is just horrible when testing with large amounts of text.

    No matter what I do, I can't get my keyboard to type anymore inside the simulator. Even if I have "Simulate Hardware Keyboard" switched ON, it just won't type anything. Can someone please tell me what I'm doing wrong? Is there no way to type using the real keyboard anymore?

    A:

    Try trashing the iPhone Simulator preferences file. When my iPhone Simulator stopped responding to keystrokes, this fixed it.

    Quit the simulator.

    Go to ~/Library/Preferences

    Drop "com.apple.iphonesimulator.plist" to the trash.

    Try launching you iPhone app in the simulator again.

    启动模拟器,在需要输入文字的地方,敲击 mac 下的真实键盘,但是模拟器上没有任何输出。google 一下,得到解决办法:

    退出模拟机

    进入 ~/Library/Preferences

    删除 "com.apple.iphonesimulator.plist"

    重新启动模拟器

  • 相关阅读:
    前端基础之CSS
    前端基础之HTML(三)
    前端基础之HTML(二)
    前端基础之HTML(一)
    面向对象总结
    内置函数总结
    函数部分总结
    文件操作总结
    基础数据类型总结
    python基础知识总结
  • 原文地址:https://www.cnblogs.com/ihojin/p/iphonesimulator-realkeyboard-not-work.html
Copyright © 2011-2022 走看看