开发者

Providing API for communicating with a running application?

开发者 https://www.devze.com 2023-01-08 08:37 出处:网络
Basically I\'m trying to find a solution to my issue with sharing an开发者_JAVA技巧 object. I\'ve had a look at SpringBoard\'s implementation and it looks as if SpringBoard is providing a framework wh

Basically I'm trying to find a solution to my issue with sharing an开发者_JAVA技巧 object. I've had a look at SpringBoard's implementation and it looks as if SpringBoard is providing a framework which can be used to retrieve SBDisplay objects (which are basically CALayers).

I know this specific issue is related to iPhones, but I also know that this is also used by a lot of Cocoa software. Could someone point out a way to copy such behaviour?

App 1 (Application launcher) :

  • Launches client applications
  • Has the main CALayer object
  • Serves as the window server

App 2 (Client app) :

  • Needs the main CALayer from App1 to render itself onto

And again, just to reiterate - I am fully aware of AppStore policies. And yes, I am using a jailbroken device.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号