在OSX 10.6中以编程方式与连接的iOS/iPod交互 [英] Programmatically interact with attached iOS/iPods in OSX 10.6

查看:89
本文介绍了在OSX 10.6中以编程方式与连接的iOS/iPod交互的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开发一个简单的菜单栏应用程序,使我无需启动iTunes即可可视化所连接的iPhone/iPad的充电状态.经过长时间的搜索,我无法断定Snow Leopard API是否有可能实现这一目标.

I am trying to develop a simple menu bar application that would let me visualize the charging status of my attached iPhone/iPad without having to launch iTunes. After a long search, I am unable to conclude if this is a possibility with the Snow Leopard APIs.

我的搜索使我找到了在启动时运行的名为com.apple.ipodserver的服务,但找不到围绕它的任何公共API.

My search has led me to a service running at boot time called com.apple.ipodserver, but I am unable to find any public API surrounding it.

我的想法可以实现吗?

推荐答案

在Mac和Windows上,有几种适用于iphone的实用程序,但是其中大多数与您iphone的文件系统交互..我想您必须编写一个该应用程序将在您的iPhone上运行,并提供与Mac上的应用程序的接口,而您在Mac上的应用程序将使用该接口中的数据... 例如您在iPhone上的应用程序可以创建一个txt文件并更新其中的电池充电状态,而在Mac上的应用程序可以读取该文件到目前为止非常简单

There are several utilities for iphone on MAC and Windows , but most of them interact with the file system of your iphone .. i guess you would have to write one app which will run on your iphone and provide interface to your app on mac and your app on mac will use data from that interface ... e.g. your app on iphone can create a txt file and update battery charging status in it and your app on mac can read that file so far so simple

这篇关于在OSX 10.6中以编程方式与连接的iOS/iPod交互的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆