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.

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:

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
Post a Comment