Using the air bnb app, if you click on the far right icon on the tab menu, it opens a user menu which slides in from the right over the top but only takes up half of the screen. The rest of the screen below is dimmed.
How can this be implemented? Does it require a custom segue or view controller container?
I have seen a similar feature to what your describing done before using a modal segue that instantiates a new view with a partially transparent background. You have given a vague question so I can't really provide a specific answer. Comment if you need more info.
Here is the app I saw it in, from a tutorial.
Related
I am new to iOS native development and have been struggling for a few days to understand some of the segue concepts. I have tried googling for that answer but I must not be using the terminology Apple has created for this.
I have inherited some code and I am trying to move from the login screen of my app to my first page in full screen. It moves to that page and gives the user that ability to swipe down and go back to the login screen. This is not the functionality that I want. I want to use a button to go back and not gesture functionality.
Assuming you created a "Present Modally" segue, select that Segue and, in the Attributes Inspector pane:
Select Full Screen from the Presentation drop-down.
I have an iOS info app. The main screen of the app consists of rows of icons. I want that after tap on certain icon card with information appears and background blurs. To close the card I need to swipe up or down. It is very similar to Instagram's imageviewer.
Please help me create that.
P.S. This is my first project so please keep this in mind when you going to describe the method.
It should look like this
The answer to your question is probably hidden beneath the layers of how you can segue between the scenes of a storyboard. First, you create a scene like this in the storyboard and use some third party libraries to present it as a 'pop-up'. It is not possible for you to do that natively as Apple has not added any segue style showing the scene like a pop-up on the iPhone screens (On iPad it's possible - check how Apple presents choose Wi-fi network in Settings). For that purpose, you can use BlurryModalSegue or CNPPopupController to perform such operations.
Thank You!
I want to implement a sidebar menu like Spotify:
I think it's pretty difficult.
Important features:
when the sidebar appears, the main view should transit to the left
sidebar should fill the full screen, not only a part of the screen
=> This solution does not cover the the full screen
menu should be available from every screen except login screen
close the sidebar by swiping the main screen to the right
=> Same functionality like the spotify app
Could you help me finding the right path to the solution?
Which controllers do I have to take?
How should I combine them?
Do you know well written tutorials?
Update
Solution Nr. 1
=> Try to implement it at the moment!
Followup Questions
I don't need the RightMenuView Controller and some other features.
Does it make sense to rewrite the code in Swift?
There are many tutorials on the net... For example:
http://code4app.net/category/menu
http://www.raywenderlich.com/78568/create-slide-out-navigation-panel-swift
I'm trying to create an APP prototype and I was wondering what is the name of animation/transition effect that you see on top of the mailing app when you click the new message button. It's animation effect where the navigation bar does not fully go to the top of the screen and you can the previous view in the background? And is there way to add that animation effect to my storyboard? If not, is there a easily available library that will
I do believe that is a custom transition for which apple does not provide api.
I am just starting out iOS development and have some doubts about Tab Bars Human Interface Guidelines provided by Apple.
On the iOS HIG document concerning Tab Bars, it reads:
"A tab bar appears at the bottom edge of the screen and should be
accessible from every location in the app."
The app I am developing and would like to see published in the App Store once finished, would have a ListView as it's first screen that would then go to another screen with a tabbed interface after an item being selected. It would also be possible to go back to the first screen (the one with the list) at any time within the tabbed interface (the 2nd screen).
So, my question is if it's ok to have a Tab Bar interface only in the second screen of an iOS application or would something like that might result in some restrictions by apple approving?
Thanks.
Short answer is YES.
Yes, you can have tab bar in second screen. Consider the app where you have first screen as language select screen and second screen with tab bar controller.
With statement below, what Apple means is once you are in tab-bar controller and tab-bar controller is in scope, tab-bar controller should be accessible. You can hide the tab-bar, but on tapping, it should come again at the bottom of screen.
"A tab bar appears at the bottom edge of the screen and should be accessible from every location in the app."
Main words -> Should be. Apple wants you to make your apps in the most intuitive and user friendly way possible. Many standard apps use this paradigm (ie App Store Application) so they know iOS users are accustomed as to how to navigate. However, Apple themselves even make exceptions to this rule (ie. Playing a song inside the Music App). But yeah, they'll let you do it no problem.