I have a project having the home page like the attached image and need to implement the following functionality.
Home Page slides in left to right
Functionality of this is the icons rotate in a circle by finger
Sliding once user clicks on an icon they will be directed to the page.
Pls help someone, if you have done such things.
Regards
CJ
Following is the Custom UICollectionView Layout may help you to best fit your requirement.
Download the source code and reference from here.
Take a look at a library called iCarousel by Nick Lockwood. (Available on Github.) It is very configurable and will give you exactly what you need with very little custom code.
Related
I have a 2 UIViewController(s), I need to be able to change the views at the bottom of the Airtime and Data Plan Upon tap gesture on Airtime and Data Plan!
The yellow line will indicate the active view controller. some thing like tab bar.
Perhaps, the image attached is an android version
Could anyone provide a help on how to go about this.
Thanks
I personally use a library called ICVIewPager
https://github.com/iltercengiz/ICViewPager
This is pretty simple and easy to use with examples. It should put you in the right direction without writing a lot of code.
I want to create an interface like the image above . When you turn the page this is the kind of behavior happening.
So what is different here is that the cover (the black part) is still visible once you turn the page (the cover is flippable as well, not just a static asset). In a UIViewController when I flip the page it unloads the previous view. So how do I go about implementing this ?Any help or nudge in the right direction will be much appreciated.Thanks in advance.
Have a look at this turorial. It helped me a lot!
http://www.appcoda.com/uipageviewcontroller-storyboard-tutorial/
For the page turn effect you need to go in Interface Builder and select page curl for your UIPageViewController.
I'm trying to build an app that uses page control as a main navigation. Here's how it goes i want to have full screen buttons that can be be swiped and when you click on them it takes you to the corresponding view. I know how to implement pagecontrol for images bu not for buttons any help would be much appreciated.
This sounds like a terrible design, but assuming you have some great reason that I'm just not creative enough to imagine, you don't need to use buttons, you can use images and just add a UITapGestureRecognizer to them and trigger on that event. In effect, the entire view (image) will be a button.
After wasting lot of time searching, I am finally posting this question, hoping I get an answer.
I want to have a widget in iOS, which has the similar functionality of Sliding Drawer in Android. (Like the bar at the bottom, and on pulling it, it shows up a new view).
Any help would be greatly appreciated.
Thanks
A few similar questions that might help you out:
Making a pull out tray - (iOS)
iOS: Sliding UIView on/off screen
I recently made a drawer container controller and put it up on Github:
https://github.com/saldavonschwartz/DrawerContainerController
While not exactly the same (you are asking about a vertical single view sliding up/down), you might want to download the code and take a look. My approach might as well work for what you are trying to do: basically, creating a container controller which can host another controller and its view and present its view in a custom way.
Specifically, you might want to look at:
-replaceContainedController:forIdentifier: for how you would go about adding child view controllers the 'Apple' way.
-didPanContent: and -translateContentContainerViewToPosition:animated:completion: for the sliding animation from input of a UIPanGestureRecognizer
I am using PageViewController in my app.
In the beta some users complained that they didn't understand that they can flip pages.
I saw that in some apps there is an hint animation that curls the right top corner of the page.
Is that something I can achieve with PageViewContoller or is it a custom animation?
If you know I would love a direction.
Thanks
Shani
What I did in my app is add a segmented control into the top right of the navigation bar, with a left pointing triangle and a right pointing triangle. Now users know they can page through the view. Once they know this they can use gestures later to do the same thing - its more of a hint of functionality than required.
The problem with animations etc is that they help the first time user, then annoy the long time user. Getting help "overlays" to be useful but not annoying is an art I have yet to master.