I am currently working with an app that would generate a report from the user. These reports would be displayed on a scroll view. I would like the scrollview to look like the photo feed of Instagram (please see Instagram app on iOS). This would be doable using UITableView since the section sticks up above while scrolling the row. I want to achieve the same effect using only UIScrollView. Is this doable? Please let me know your advice.
UIScrollView+TPKeyboardAvoidingAdditions
TPKeyboardAvoidingScrollView
TPKeyboardAvoidingScrollView
UIScrollView+TPKeyboardAvoidingAdditions
Download these custom classes from Github and follow the procedure given there !
Related
I want to build a similar view as seen in the iOS Camera app, but I don't know which UI-Elements were used.
It can be found in the Instagram Story section as well.
Edit:
It should have the same behavior.
I tried to accomplish this with an UICollectionView. I'm adding UIButtons to the view but I don't know how to make the 'drag & stop' behavior. Maybe there is a delegate method or so.
A small explanation or some ideas would be helpful. I don't need code.
That's a custom control. You could create it using a horizontal scroll view containing multiple UILabel objects, each of which has an attached UITapGestureRecognizer.
You might be able to find a third party library that does what you want. Try Cocoa Controls.
I am trying to implement the same style of UI as the new Uber iOS app, at least the pull-up view. I am wondering if this is a UICollectionView or a UITableView. How are the inner horizontal scrollable views implemented? I have done something like this before in iOS back in 2009, but that was UITableView inside a UITableView. Just wondering if UICollectionView is what should be used now?
Also, how do they allow you to drag the view up and then switch to a new view?
They seem to be simply animating transitions. There are similar questions here on SO addressing this for the card implementations used in Apple’s Music and Mail apps. As for the horizontal swiping, I would use a collection view nowadays but I don’t see it wrong using a tableView.
Hope this will help
I'm looking for a way to implement scrolling in UITableView similar to what is done in Yummly app, or like google play or whatsapp header, in which the top image sort of hangs or sticks, while the bottom content scrolls over it, until the content catches up with it.
Meaning, make it so that the cells will not scroll up together, but stick a little, like the section headers do, accept that with section headers the content scrolls below the section, and not on top of it.
Does anyone has any idea how this can be implemented in objective-c?
Thanks!
I have checked yummly and found the good solution for you i have used this for some of my application/demo as well.
https://github.com/destin-m/parallax_tableview
Please let me know if you require any other modification as well.
Regards.
I recently received the latest Spotify iPhone/iPod update and thought their new UI was fantastic. I want to try to replicate their playlist parallax effect, Im struggling to grasp what it is that they have done though. I've uploaded a video to YouTube displaying the effect I want to achieve. My best guess is that they're using some kind of custom table header, since it sticks to the top and some scrollview delegate to show/hide different labels. Anybody out there who can figure this one out?
I've found things like this where they have a UIImageView behind the tableview but that doesn't really replicate the header-like behavior where a bit of the image sticks to the top. Also, having the controls for 'back' and 'options' would be a hazzle.
You can use CSStickyHeaderFlowLayout, but it's for CollectionView headers.
We have an Android app using ViewPager and ViewPagerIndicator where you can scroll the content and the title scrolls, but the next and previous title is visible as well on the current page. How can this be implemented in iOS?
Currently we have a UIScrollView where you can scroll between the pages and with a segmentcontrol on top. This works well for max 4 pages, but we need to remove the segmentcontrol and replace it with a titlestrip to make room for more pages.
Android example:
http://blog.pboos.ch/post/40575809334/android-pagertabstrip-viewpager
iOS app that has such an implementation:
I managed to solve this using two UIScrollViews. In the scrolled event of the content scrollview I moved the title scrollview with 0.5*offset of the title scrollview. That resulted in the effect i wanted.
This library does it and also provides other alternative ways to switch among child view controllers.
https://github.com/xmartlabs/XLPagerTabStrip
definitely you can achieve same effect in iOS as well.
check this sample app, think this will help you out.
click here