2014-01-16 77 views
0

是否有终端实用程序的ios或脚本,可以写入,使命令进入移动终端或通过ssh,uialertview会弹出?ios uialertview通过移动终端命令

例如,在终端中,我输入> alert [message] [title] [buttonmessage] ,屏幕上会弹出一个警报,并显示指定的参数。

+0

[点击这里] [1] http://stackoverflow.com/questions/5588064/how-do-i-make-a- MAC-终端弹出警报-AppleScript的 [1]:http://stackoverflow.com/questions/5588064/how-do-i-make-a-mac-terminal-pop-up -alert-applescript – bohan

回答

0

enter image description here使用osascript,例如:

osascript -e 'tell app "Finder" to display dialog "Hello World"' 
osascript -e 'tell app "System Events" to display dialog "Hello World"' 
+0

但是iOS呢? – user3117534