ios - Diaplay an activity while updating Braintree nuance to server -


i following following tutorial https://developers.braintreepayments.com/guides/drop-in/ios/v4

in finding issues when post payment nuance server. drop in ui remains after enter card details. , options still enabled while payment nuance in progress user can select option

here code

btdropinrequest *request = [[btdropinrequest alloc] init];     btdropincontroller *dropin = [[btdropincontroller alloc] initwithauthorization:client_tok request:request handler:^(btdropincontroller * _nonnull controller, btdropinresult * _nullable result, nserror * _nullable error) {         if (error != nil) {             nslog(@"error");         } else if (result.cancelled) {             nslog(@"cancelled");             [self dismissviewcontrolleranimated:yes completion:null];         } else {             [self performselector:@selector(dismiss_bt)                        withobject:nil                        afterdelay:0.0];             [self postnoncetoserver:result.paymentmethod.nonce];         }     }];     [self presentviewcontroller:dropin animated:yes completion:nil]; 

enter image description here

in above image want hide braintree drop in after enter card detail / paypal

thanks in advance


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -