WatchKit swipe right on table to show context menu - uitableview

Is there a way to have on WatchKit table a swipe gesture recognition to show a menu of options, like in the UITableView on iPhone, when swiping right to left, you can show options like Delete, mark or more options.
In the Apple Watch included Mail app it is possible to swipe from right to left and two options are shown, More and Delete.

Related

Unity - How to hide Homebar on iOS ( defer system gestures and hide home button )

The game is in landscape mode and at the bottom of the screen are some ui buttons, for this reason I would need to hide iPhone home bar and use deferred edges.
Using "Hide home button on iPhone X" correctly hides the button, but any single tap will show the bar and single swipe will close the game. Not good.
Using deferred system gestures only, behavior is correct, it takes two swipes to close the game. The problem is that the home bar is always visible, its greyed out, but always visible. Gets highlighted on a first swipe, closes game on the second. Thats good, but cant have visible home bar all the time, its right on top of the buttons. Not good.
Used deferred edges and Hide home button option is acting like 1), ie deferred edges are ignored for some reason. Not good.
Question: Is there some way to have home bar hidden and appear only on a swipe and on second swipe closes game. Ie functionality like 2) but the bar is hidden instead of greyed out?
In player settings under Resolution and Presentation you could check Render over native ui
This option will force unity to display app contents over the native ui, however then you need to setup a custom way to close your application.

how to use same container view in multiple storyboards?

I want to create an application which shows list of features when user taps on right navigation item. This 'Show list of features' screen will cover half of the iPhone screen with slide animation while hiding and showing it on screen. When user taps on any future from feature list it will navigate user to new screen which will have also have this 'show list of features' button as right navigation item instead of back button.
To create show list of features UI, can I use ContainerView in Xcode? ContainerView UI will be same for all the screens. How can I reuse the same containerView in multiple storyboards?
Thanks!

Make row actions appear from the left when table enters edit mode without swipe in iOS 9

I would like to be able to present actions on the row of a TableView (as described in the topic "Swipe to Delete and the More button") from its left and when the table enters edit mode, and not based on a swipe gesture.
The question "In iOS 8, how to add Row Action Buttons to the left side of a UITableViewCell" discusses this topic and presents a relevant picture, however this action is initiated by a swipe, where I would like it to be initiated when entering edit mode by tapping an Edit button.
When binding the edit mode to an Edit button in the navigation bar (on the left) with
self.navigationItem.leftBarButtonItem = self.editButtonItem()
then tapping the Edit button will by default shift the row and present a rounded delete button on the left:
Is there a simple way to replace this rounded button with square buttons such as Delete and More (swiping the row should not trigger anyting) ?
Thank your very much.

Open slide menu navigation from right to left in iOS

I have an slider menu in my iOS project which opens by default from left to right. I wanted to ask how can I make it open from right to left. There are many android topics on this but I didn't find any iOS tips for doing this.
Thanks very much
If you are using AMSlideMenu (https://github.com/SocialObjects-Software/AMSlideMenu), you need to drag a segue between the main view and your right menu view, and you choose slide menu right menu, then implement the method segueIdentifierForIndexPathInRightMenu. The segue takes care that the menu will open, and the rightmenu option assures the menu will open from right to left. Next video explains it all :
https://www.youtube.com/watch?v=y33t_bWS_Zk

How to add a button on UIPageViewController

I have created an iPad app, using UIPageviewController in Xcode 4.2 (iOS 5). Now, I want to add a button, at the left-bottom corner of the page, which will appear on every page.
The problem is, while clicking the button, a page transition takes place, and the button click event is not called.
You need to take control over the Gesture Recognizers. Decide which one gets the click, take a look at this post

Resources