In the stock Apple Watch mail app you can swipe left to access more options for an email. How would I go about doing this with a WKInterfaceTable?
According to Apple guideline that it is not possible in watchOS to implement custom gesture as we have in iOS. Because gestures in watchOS manage by OS itself.
What Apple says:
User interactions on Apple Watch generate touch events and gestures, but unlike iOS apps, your Watch apps don’t handle these events directly. The system provides automatic responses for all touch events and gestures, responding in the following ways:
• Taps trigger action-based events in your app
• Vertical swipes scroll the current screen
• Horizontal swipes display the previous or next page in a page-based interface
• Left edge swipes navigate back to a parent screen in a hierarchical interface
When the user taps a button or another control, Apple Watch calls that control’s associated action method. You define action methods for the controls in your interface and use them to respond to user interactions.
More on stackoverflow
Apple guideline
Related
Is it possible to implement a draggable view with Xamarin View? Is there basically an event that I can use that gets triggered when a finger is pressed on the screen, then moved and then released without having to use native Android/iOS code? I don't mean a swipe event, I know this exists. I am looking for a event so I can let the user be able to drag a rectangle across the screen for example.
Looked for it on the internet, but can only seem to find just normal Touch, Swipe and Tap events. (Although I found it is possible using native Android/IOS code.
I have an Android app that hosts an WebView and we want to adopt some accessibility feature on it.
Short question:
Are there any talkback events on the JavaScript side being fired when user swipe left or right on the WebView?
Details:
On the WebView I have a carousel component displaying some images. I want to do some specific actions, in the accessibility mode, when users do a single-fingle-swipe left or right (in this case, a single-fingle-swipe means going to next / previous available element). So in this way, if there are any events being fired that I can catch, it would be great.
Edited the question with a image that explains in details.
Thanks!
I have been playing with the Microsoft Band SDK and I have figured out that it is possible to create custom tile layouts and buttons along with event click receivers like ACTION_TILE_OPENED, ACTION_TILE_BUTTON_PRESSED, and ACTION_TILE_CLOSED.
However, is it possible to add custom buttons when doing send message notifications? Such that when a message is receive, the user can swipe left and see additional action buttons he/she can tap, and also tie this button to a click handler method? I have been trying to figure this out all day, but no success.
Example:
When a text (SMS) message is receive in the band, you can swipe left to see two buttons: "Dismiss" and "Reply". I was wondering if it is possible to also create this type of notification with buttons.
No, currently there are no means to customize notifications (messages or dialogs) sent to the Band.
I'm trying to implement a feature such that users can click on the notification content area (not app icon nor action buttons) to bring the main watchkit app open. The current official way to launch the main watchkit app is to tap the app icon or action buttons in a notification scene. But I feel like the app icon is actually quite small (and hard) to tap and sometimes users are not even aware of this feature.
What I'm trying to do now is to put my notification content into a table row in the notification controller and make this row clickable. This will give user a pretty big area to tap with. Then in the click event handler I'm trying to open the main watchkit app. But I haven't figure out a way to do that (none of the general navigation methods such as presentControllerWithName works from notification controller).
Any suggestions?
In the apple watch's passcode setting screen the passcode on top updates as soon as a user clicks on the buttons and not after lifting the finger. How can one achieve that in Xcode 6.3? Because the only event that triggers the ibaction is the touch up event
I don't think that behavior is possible with the current version of WatchKit. Apple is likely using their own internal method to accomplish that (as they do with many/most of the default Watch apps). Hopefully we'll get more functionality in the next major update.