ios - How can i put navigation bar in google login screen? -


because if user don't want sign in there no way go previous screen user must need kill application.

enter image description here

make sure uiwebview inside view controller has uinavigationcontroller. suspect present login screen modally (either via storyboard or programmatically) - try push on navigation stack instead.

edit: code meant, in qefileslistviewcontroller:

gtmoauth2viewcontrollertouch *authviewcontroller = [[gtmoauth2viewcontrollertouch alloc] initwithscope:kgtlauthscopedrivefile                                            clientid:kclientid                                        clientsecret:kclientsecret                                    keychainitemname:kkeychainitemname                                            delegate:self                                    finishedselector:finishedselector]; [self presentviewcontroller:authviewcontroller                    animated:yes                  completion:nil]; 

if change last statement to

    [self.navigationcontroller pushviewcontroller:authviewcontroller animated:yes]; 

you button:

enter image description here

i know when press button, automatically show login screen again. figured if want implement in own app, can take appropriate measures make sure doesn't happen.


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

html - jQuery UI Sortable - Remove placeholder after item is dropped -