Skip to main content

Mobomo webinars-now on demand! | learn more.

 

At the time of this writing (pre-WWDC 2015), there are a number of limitations on what Apple Watch code can do. The primary limitation is that watch apps cannot exist by themselves. It is necessary for the watch app to be a part of a corresponding phone app. Apple has said they will not accept watch apps where the phone app does not do anything itself. Also, watch-only apps (such as watch faces) are not allowed for this same reason—although it’s rumored that this may change after WWDC 2015.

Another Apple Watch limitation is that Core Graphics animations are not supported, but animated GIFs are. Complex layouts (such as overlapping elements) are not allowed. However, elements can be positioned as if they overlap—provided only one element is visible at a time. Using actions such as taps and timers, the visibility of these "overlapping" elements can be changed. This can be implemented to provide a more dynamic interface. Another major limitation (also whispered to change after WWDC 2015) is that watch apps cannot access any of the hardware on the watch including the motion sensor and heart sensor.

Most watch app processing (controller logic) is done on the phone instead of the watch, and some delays are inherent in the Bluetooth communication that transpires between the watch and the phone as the view (on the watch) talks back to the controller (on the phone). This view/controller split is not obvious in the code, but the watch/phone split is obvious in the code, as the watch cannot access anything from the phone, even though the controller logic is running on the phone side—except via a specific watch-to-phone request.

One notable feature is the watch app’s ability to explicitly call the phone app with a dictionary and obtain a dictionary response. This functionality allows the developer to then set up a number of client-server style requests, where the watch is the client, and the phone is the server. For example, the watch can request information from—or record information to—the phone. The phone (which has storage and may have Internet connectivity) can then fulfill the request and provide data in response to the watch. This can drive the phone app's UI to provide near-real-time synchronization of the watch app display, as well as the phone app display.

Custom notifications (both local notifications and push notifications) are supported on the watch. These custom notifications can have a somewhat customized layout as well as having the ability to define a set of custom actions. After performing one of these actions, the watch app is started. Apple mentions not to use notifications as a way to just launch the watch app from the phone app. Apple maintains that the notifications should provide useful information.

One developer test limitation relates to custom watch notifications (for local notifications).  Since watch notifications are only displayed if the phone is asleep, there is no direct way to test custom watch notifications.  Because of this, XCode does provide a mechanism to test push notifications in the simulator (using a JSON file), but there is no similar mechanism to test local notifications. Still, one can certainly test local notifications with the physical device.

Categories
Author

Aggregating all the little clues that various blogs have gathered about the next Apple iPhone and the iPhone OS 4 suggests that the 4th generation of this smartphone is going to be one powerful mobile device, with lots of new features.

One such feature is the integration of Facebook right into the OS, at least in terms of contact syncing. This is a "fact" that has already been discovered by a few bloggers who discovered the details by digging around in the iPhone 4 SDK. Of course, other competing smartphones, including Palm webOS phones, already offer this. However, Apple might just gain the edge on competitors, thanks to a recently-granted Apple patent for the iPhone that suggests a social version of Mac OS' signature 3d "cover flow" method of browsing a collection of information -- such as documents in a Finder window, or albums or DVDs in iTunes.

A "social cover flow" feature on the iPhone would give users a very nice visual means of quickly flipping through social media (e.g., Facebook) profiles, as the patent diagram below suggests. This alone could make it worth having the new iPhone -- yet to be announced -- at least for all the mobile users of Facebook -- which as many as 100M at last count, not all of whom use an Apple iPhone OS-based device.

img-iphone-social-cover-flow

Then of course there are the rumors that the new phone will have a front-facing camera (and probably retain the back-facing camera as well), to enable video calling. And Steve Jobs already announced that 3rd-party apps would now have multi-tasking. There's surely many more features we haven't even heard about it.

So the 4th-gen iPhone is going to need a faster processing chip and more RAM memory. The current 128MB for the 3GS model simply won't be enough for all the new capabilities. So it's no surprise that the latest iPhone prototype discovered in the wild is found to have an A4 chip like the iPad and 256MB of RAM. (This is system memory, and separate from the storage capacity, which has been speculated at as high as 128GB for the top end.)

Categories
Author
1
Subscribe to Iphone Os