Is it possible to achieve the scrolling effect like iMessage in iOS 8+ in any ordinary UITableView?
preferable using Swift
cause it looks so cool...
What you are looking for is UIKit Dynamics
I was also interested on this some time ago and I refer this link to do it.
https://www.objc.io/issues/5-ios7/collection-views-and-uidynamics/
Related
In Apple's 2014 WWDC keynote, they showed a gesture in the Mail app that lets you long-swipe to delete a message immediately. This is different than swiping then tapping the delete button. Below is a screen shot of it in action. Does anyone know if this is available as a public API yet? I've looked through the WWDC session videos and the documentation to no avail.
I would prefer to use native APIs rather than custom classes if possible; this is why I'm asking.
Thanks in advance.
I found that it wasn't possible with a standard tableview, you have to implement it yourself with custom table view cells.
There are a number of libraries that do this, I found MGSwipeTableCell to be the best - it has a demo app which replicates the behavior of iOS 8 mail and is a good example.
As of iOS 11, there is finally a formal way to do this using the UIKit APIs. They're called "swipe actions" now, and they can be "leading" or "trailing" and even include an image. The UITableViewDelegate method is called leadingSwipeActionsConfigurationForRowAt. I learned about this from Use Yiur Loaf
Has anybody found something similar to ios7 Reminder PageView with same forces and behavior.
Mean this control.
Found something link - but it's not exact the same.
Look forward to somebody's help!
The best solution i have found - TGLStackedViewController
It provides same behaviour and uses the uidynamics library to attache views in a UICollectionView.
If you take a look at the iOS 7 Weather app on iPhone you will see that as you scroll, the background of the UITableViewCells scroll too(each independently of the rest). Recently, Spotify issued an iPad update that added the same feature(search for an artist on iPad, then look at their albums). I'm trying to figure out how it's done. I'm thinking it might tie in to how parallax is treated in iOS 7(motionEffects) but I'm at a loss. Any ideas?
I'm trying find same feature, and i create same question with your description of trouble and i find solution, see my question - myQuestion
I am trying to achieve the animation behavior that mirrors the Reminders app in iOS 7 using UIKit Dynamics. However, I am struggling on how to achieve this effect. I have attempted to use UIAttachmentBehavior objects between current "card" and previous "card" and using a pan gesture to offset the cards with the y value of the drag behavior. Yet I'm still unable to achieve the same effect. Does anyone have any pointers on how to achieve this?
The best solution i have found - TGLStackedViewController
It provides same behaviour and uses the uidynamics library to attache views in a UICollectionView.
I'm working on an iOS app and I was hoping to have implemented a "sliding, paged banner", similar to what I saw in the ComiXology iPhone app. See the images below:
I'm at a loss on how to implement it. A link to a tutorial would help, or at least an idea of how to go about implementing it. Thanks. :D
I'm using UIKit to develop my app.
Use a combination of UIScrollView and UIPageControll. Apple has an example of this.