Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4001] Not able to implement 3d Touch in iOS

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNot Our Bug
Resolution Date2016-07-08T21:37:22.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labels3DTouch
ReporterPrafull Bansode
AssigneeHans Knöchel
Created2016-07-04T05:52:49.000+0000
Updated2016-07-13T20:51:35.000+0000

Description

I have tried implementing for 3d touch in appcelerator app I tried the code provided by appcelerator docs but i was able to make shortcut on icon of application but on list view it is not getting generated. I am attaching the code I have tried. P.N. All the default assets have been removed due to attachment size limit.

Attachments

FileDateSize
3dTouchPoc 2.zip2016-07-04T05:51:03.000+0000736538

Comments

  1. Hans Knöchel 2016-07-08

    Hey there, please check out our [3D-Touch sample application](https://github.com/appcelerator-developer-relations/appc-sample-3dtouch) for best-practices. Thanks!
  2. Smit Mehta 2016-07-12

    I am also trying to implement 3d Touch in my app. I am able to generate the shortcut icon but I am not able to implement it on list view. For creating the application I have referred the 3D-Touch sample application downloaded from(https://github.com/appcelerator-developer-relations/appc-sample-3dtouch). I am trying to create same type of app which is attached by the reporter. Can I get the help regarding implementing the same. Thanks in advance. Environment: Mac OS: El Capitan (10.11.5) Implementing on Device: iPhone 6s (9.3.2) Titanium SDK: 5.2.2 GA Appcelerator Studio, build: 4.5.0.201602170821
  3. Prafull Bansode 2016-07-12

    as @Smit Mehta mentioned, we are facing the issue. Can you please provide a better solution & reopen the issue?
  4. Hans Knöchel 2016-07-13

    Hey guys, the feature was implemented by me and it still seems to work properly in both the sample application and other applications that use the API. So if you have questions on how to implement the features, the demo-apps should give 1:1 examples on how to do that properly. If you have code-level questions, please feel free to ask our [TiSlack community](http://tislack.org) or on [StackOverflow](http://stackoverflow.com/questions/tagged/appcelerator). Also check out the related [PreviewContext docs](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iOS.PreviewContext). Finally, also make sure we are talking about the same thing. Because the shortcut items and peek&pop are two very different API's. Shortcuts are used on the home-screen and peek&pop in-app. I hope that helps getting started. Maybe we also make a detailed guide in the future, but those docs should help pretty well. Thanks!

JSON Source