iOS Xcode Development with Segues full screen - ios

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.

Related

Swift "show segue" is not available when Ctrl Drag a button on View Controller

I'm having a very hard time here.
I created an iOS App in which I have a Navigation controller and a main screen showing a device list and now I'd like to add a detailed view. My issue is, I can't create a segue with action "Show" - the Interface Builds in Xcode only provides options "Push", "Modal" and "Custom"
I'm an absolute beginner in Swift (or for that Apple) development and each and every tutorial I found with google, says, I'd simply have to Ctrl-Click the button, drag it to the new view controller and choose "show" - but there is no :-(
I'm attaching a picture, so you might see more clearly.
Please, if someone could help me out here.
Is my problem caused by choosing Single View Application in the project???
I'm using Xcode 8, Swift 3 and developing for iOS 10 on iPhone
You are likely using the old Xcode storyboard layout, to go back to modern layout:
select Main.storyboard, go to file inspector and check the Use Auto Layout and Use Trait Variations boxes.

How does the Air BnB achieve the user menu?

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.

How to create a popup window in Xcode Swift?

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!

When using popover segue, does not allow controls added to viewcontroler to display

I would like to take advantage of using the PopOver segue now available in Xcode 6. I have been experimenting with this, seems very straightforward. However when i add any type of control, label, or any element, and run the project in the simulator, the added elements (controls, labels, etc) do not display. I am running iOS 8.1.2 and using xCode 6, objective-c. The application is targeted for iPad.
I am going from a standard viewcontrler to a viewcontrler,
When i do a standard modal segue, everything is visible.
thanks in advance for any help,
Steve
links to screen shot
https://www.dropbox.com/s/93wt2twuuccbuji/main%20storyboard%20image.png?dl=0
https://www.dropbox.com/s/im4bzlrnrov43cp/from%20simulator.png?dl=0
did you give the anchor point in storyboard?if you want to display second view controller on pressing a button give the anchor point to that button.

how to present a login, with UISplitViewController?

I'm trying to build a universal iOS app. So, in Xcode I started with a Master-Detail template.
In the iPhone version of this, my first view is a list of items, and I have a "Logout" button in my Navigation Bar. When the user launches for the first time, a view-controller is presented, modally, on top of my normal "master" view. It just asks for a user/pass, lets the user log in. If the user hits the "Logout" button, some cleanup occurs, and then they are presented with the Login screen again.
On the iPad side of things, I'd like to have a UISplitViewController - as that interface matches well with what I'm trying to do. I'd like to do this in a similar fashion -- present the user with Login the first time they launch. Then later on, if they decide to leave the app, they can hit Logout, and be presented with Login options again.
I'd prefer to cover the entire screen with one view (just user/pass/login button), but am having trouble figuring that out, especially if the "master" view is visible.
So, the question is this: what is the preferred way to show a login screen, with a UISplitViewController in the mix, so that the user can't do anything else but login?
This really sounds like a personal choice/design decision.
You could have the "master" view be the login screen and have the "detail" be just a splash screen or cute kitten photo that says "please login"
You could also have a single UIView be the "initial" view page and have that segue into the splitview
I think you're quite open in the "how" of it so perhaps I'm not quite understanding your question.

Resources