Questions tagged [peek-pop]

Use this tags for questions concerning peek & pop behaviour on iPhone 6S.

31 questions
2
votes
2 answers

What is a peek and pop force on new iPhones?

iOS 9.0 added new property force on UITouch class. For new iPhones (6S) this enables to get value of user's finger presure. The value of force property seems to be set between 0 and 6.66667. Also iOS 9 added peek and pop feature - when a user aplies…
Rasto
  • 17,204
  • 47
  • 154
  • 245
1
vote
1 answer

How to achieve 3d touch (peek and pop) in react native

how can I implement this functionality in my react-native app? Is react-navigation provide this by default? here are some related links: https://github.com/aksonov/react-native-router-flux/issues/3301 https://github.com/osdnk/peek-and-pop [404 in…
Mitesh K
  • 694
  • 1
  • 11
  • 24
1
vote
1 answer

Peek & pop does not trigger only on the last cell

I have a ProfileVC that contain a list. I can click on any of the row cell will show peek and pop feature. ProfileVC.swift I added the extention extension ProfileViewController : UIViewControllerPreviewingDelegate { func…
code-8
  • 54,650
  • 106
  • 352
  • 604
1
vote
1 answer

3d Peek & Pop for search results

I use a Search Bar to filter my Table View. I display the search results in the same view controller that displays the searchable content. It works fine. Except one thing - 3d Peek and Pop is not working for the search results. I did tried the ‘Peek…
1
vote
1 answer

UIStackView Peek and Pop overlay glitch

I'm trying to implement Peek and Pop with the contents of a UIStackView. The problem is that the overlay (the part that isn't blurred) during the shallow press doesn't contain the right contents. It's in the right place, since it's right below my…
Tim Vermeulen
  • 12,352
  • 9
  • 44
  • 63
1
vote
2 answers

ios - Peek and Pop - keep corner radius of UIImageView inside UICollectionView inside UITableViewCell

My view is structured like this: UITableView | +-- MyTableViewCell | | | +-- UICollectionView | | | +-- MyCollectionViewCell | | | +-- UIImageView The UIImageView is named 'icon' and its layer has certain corner…
John Doe
  • 141
  • 10
1
vote
1 answer

3D Touch Peek with Top Bar

I have a UICollectionView that shows 'Peek' when 3D Touch'ed. As default behavior, 'Peek' ignores navigation bars. However, I do want to show a bar just as in iMessage Peek shown below: Both Collection View Controller & Peek View Controller are…
Gizmodo
  • 3,151
  • 7
  • 45
  • 92
1
vote
1 answer

Implement 3D touch on multiple collection views or table views in the same view controller

I would like to have 3D touch on both of the collection views of my app(Only the "Peek" functionality). They are both contained in the same view controller. No matter what syntax I try it always shows the image and text for the a cell in the first…
savannahm
  • 11
  • 4
0
votes
0 answers

Peek and Pop - Prevent Preview Controller from Dismissing

I am trying to implement Peek & Pop and so far, I've managed to successfully present my preview controller when a user does a 3d touch gesture. However, I would like to keep the preview controller in place even after the user releases his 3d touch…
Julien Perrenoud
  • 1,401
  • 11
  • 20
0
votes
0 answers

Swift Location For Item At Index Path?

I'm using a collection view and I'm trying to set up peek & pop to work with it. I've overridden: func previewingContext(_ previewingContext: UIViewControllerPreviewing, viewControllerForLocation location: CGPoint) -> UIViewController? I'm trying…
Logan
  • 1,172
  • 9
  • 23
0
votes
1 answer

How do you make a "title bar" for a 3D touch peek view controller

Ideally, it should look like it does in Messages. Is there an API for this? If not, how would this be done manually?
ahyattdev
  • 529
  • 1
  • 6
  • 18
0
votes
2 answers

Disable 3D touch for UIButton in UITableViewCell

I have a UITableView with customized UITableViewCells. In the cells I have a UIButton which I don't want to be trigged by the 3D touch event for the cell. I want it to work in a similar manner as in Apples messages app, if you take a look there it…
nullforlife
  • 1,354
  • 2
  • 18
  • 30
0
votes
1 answer

How to disable peak & pop effect (strong pressure's effect with Safari on iPhone 6s)

I need to disable peak effect (strong pressure's effect with Safari on iPhone 6s) on "a" element in this code (bootstrap environment):
0
votes
1 answer

How to add Peek&Pop to a segue not assigned to a button

I have a segue that is not assigned to any button in the interface builder, but I do call a [performSegue segueWithIdentifier@""] when tapping in dynamic created button. Is there a way to enable the peek&pop on those dynamic created buttons? Thank…
Jordi Puigdellívol
  • 1,710
  • 3
  • 23
  • 31
0
votes
1 answer

Implement 3D Touch "Peek and Pop" for Manual Segue

I'm trying to figure out how to implement the "Peek and Pop" 3D touch feature for an application I'm working on, and I'm not sure how to implement that functionality for a manual segue, so any help or documentation would be much appreciated. To give…
Aeolingamenfel
  • 2,399
  • 1
  • 15
  • 22