Re: UINavigationController
Re: UINavigationController
- Subject: Re: UINavigationController
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Tue, 06 Dec 2016 11:12:36 +0700
> On 6 Dec 2016, at 03:00,Stéphane Sudre <email@hidden> wrote:
>
> On 30 nov. 2016, at 09:44, Gerriet M. Denkmann wrote:
>
>> iOS 10.1.1
>>
>> Simple app with two ViewControllers.
>>
>> Xcode shows:
>> Navigation Controller Scene
>> UINavigationController
>> Storyboard Entry Point
>> Relationship “root view controller” to “Main”
>>
>> Main Scene
>> MainViewController
>> UIToolbar
>> UIBarButtonItem
>>
>> Settings Scene
>> SettingsViewController
>>
>>
>> So far so good.
>>
>> But now:
>> Tapping the UIBarButtonItem in the Main scene should make the UINavigationController segue to the SettingsViewController.
>> How to set this up in Xcode?
>>
>> Must be easy and obvious. But I seem to be especially dense - can’t figure this out.
>
> Through code or through the storyboard visual editor?
I have figured this out already: Control-Dragging from the UIBarButtonItem to the SettingsViewController and selecting “Show”.
Gerriet.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden