Questions tagged [3dtouch]

Use this tag when developing apps that use the 3D Touch sensitivity feature on newer Apple Devices (iPhone 6s / 6s Plus and newer).

3D Touch is a new feature in Apple's iPhone 6s and 6s Plus that allows for depth sensitivity.

From the Apple iPhone 6s page:

3D Touch

The next generation of Multi‑Touch.

iPhone 6s introduces an entirely new way to interact with your phone. For the first time, iPhone senses how much pressure you apply to the display. In addition to familiar Multi‑Touch gestures like Tap, Swipe, and Pinch, 3D Touch introduces Peek and Pop. This brings a new dimension of functionality to the iPhone experience. And when you use 3D Touch, your iPhone responds with subtle taps. So not only will you see what a press can do — you’ll feel it.

Not to be confused with , which has one fewer sensitivity level.

361 questions
0
votes
1 answer

3D Touch Application Shortcut Sorting

I implemented 3D touch application shortcuts via the info.plist (static entries) and then the code implementation, all works fine. However, I cannot seem to get the sort of the shortcuts to persist. I tried drag/drop in Xcode 7.1 to reorder them…
Neal
  • 9,487
  • 15
  • 58
  • 101
0
votes
0 answers

UITouch force property relation?

The new force property on UITouch is great, but I would like to get some values I can put it in relation to. For example the value the OS uses to start a peek and the value it uses for a pop. Of course I could make my own ones up, but the ones iOS…
JustSid
  • 25,168
  • 7
  • 79
  • 97
0
votes
4 answers

SWRevealViewController and 3D Touch quickActions

I have an application implementing a side menu in swift. (http://www.appcoda.com/sidebar-menu-swift/) I implemented 3D touch shortcut, quick actions, it almost works. The problem is I arrive directly on my view without instantiate…
papay0
  • 1,311
  • 1
  • 12
  • 25
0
votes
1 answer

Dynamic UIApplicationShortcutItem in the background?

I have an app where it makes sense to update UIApplicationShortcutItems dynamically. The catch is that the specific set of shortcut items depends on the state of the network (think reachability, captive portal and VPN status, etc). It's easy to…
Dave Peck
  • 1,342
  • 1
  • 17
  • 24
0
votes
1 answer

3D Touch UIapplicationShortcut doesn't work when app is closed

Hi and thanks in advance. I have an application i wrote that uses the new UIApplicationShortcut's on the home screen using 3D touch. The shortcuts work once the app is app, but if the app is closed out the shortcuts do not work on the home…
OscarTheGrouch
  • 2,374
  • 4
  • 28
  • 39
0
votes
1 answer

Custom 3D touch and WkWebView issue

I am trying to implement a custom peek/pop behaviour in WkWebView. I see the delegate being called and the controller being returned, but peek controller does not showup. I can only get the peek controller to showup by…
0
votes
1 answer

Correct implementation of opening storyboard view controller from UIApplicationShortcutItem in objective-c

This is the code I have got for trying to open a view controller from a storyboard. I am getting error "expected identifier" on UINavigationController controller = [(UINavigationController)[[mainStoryboard…
user5394344
  • 85
  • 2
  • 8
0
votes
6 answers

Is there some iOS library emulating 3D touch peek and pop on older devices?

It would be great to have library that both: uses new 3D Touch api on iPhone 6s on older devices emulates peek and pop with some gestures. Advantages: users of older devices could benefit from new interface possibilities adoption of peek and pop…
Leszek Zarna
  • 3,253
  • 26
  • 26
-1
votes
1 answer

How to go to specific tab bar view via 3D Touch quick items

I'm trying to go to any out of the 3 tab bar elements that I have in my storyboard depending on which quick action I select when 3D Touching on the app icon. I want to still be able to see the tab bar controller, which is where I've been struggling…
Luke B
  • 288
  • 2
  • 5
  • 18
-1
votes
1 answer

3D Touch not working

im trying to add 3dtouch item to my app icon. here is my code: func application(_ application: UIApplication, performActionFor shortcutItem: UIApplicationShortcutItem, completionHandler: @escaping (Bool) -> Void) { if shortcutItem.type ==…
Farbod
  • 83
  • 1
  • 10
-1
votes
1 answer

How to simulate 3D Touch in devices that don't support this feature?

How can I simulate 3D Touch in my app, like in the Instagram app? Instagram simulates 3D Touch in all devices. Now that Telegram allows this feature, it is possible to see the coversation without entering in the chat. This is an example: If I press…
ivan180593
  • 54
  • 1
  • 10
-1
votes
1 answer

iPhone freeze when using QuickActionItems

I have added 3D Touch on my app icon to show Quick Action menu. I think I should have it all set up correctly. The problem is that when I am choosing one of the items in the Quick Action menu, the iPhone freezes for a few seconds before it opens up…
Roduck Nickes
  • 1,021
  • 2
  • 15
  • 41
-2
votes
2 answers

3D touch tableview? iOS, Swift

Is it possible to add 3d touch to a table cell that gets the data of the new controller from Firebase? I have this code below as an extension when I just press on the table cell it moves to the next controller fine and gets the correct data from…
Tony Merritt
  • 1,177
  • 11
  • 35
-2
votes
1 answer

How to hard press button in iPhone and detact 3D touch?

I have on Unbutton and i want to open detail page on hard press on it. so how it possible let me know.
bhavik
  • 1,673
  • 2
  • 14
  • 20
-2
votes
3 answers

how to detect 3D touchs in Android?

I want to implement 3D touches in android,just like the 3d touches in the Iphone 6S and 6S plus. I looked around in google and couldn't find any consistent material. I could only find an example in Lua language and i am not sure yet if it's exactly…
Anina
  • 453
  • 3
  • 18
1 2 3
24
25