ios - UBSDKRideRequesting authenticating issue -
i tried login code give below - or without using redirect_uri show error 1.there problem in authenticating you.please try again later
i checked whole project there no other issue found.
id<ubsdkriderequesting> behavior = [[ubsdkriderequestviewrequestingbehavior alloc] initwithpresentingviewcontroller: self]; cllocation *location = [[cllocation alloc] initwithlatitude: 37.787654 longitude: -122.402760]; ubsdkrideparametersbuilder *builder = [[ubsdkrideparametersbuilder alloc] init]; [builder setpickuplocation:location]; ubsdkrideparameters *parameters = [builder build]; ubsdkriderequestbutton *button = [[ubsdkriderequestbutton alloc] initwithrideparameters: parameters requestingbehavior: behavior]; button.frame=cgrectmake(10,self.view.frame.size.height+self.view.frame.origin.y,self.view.frame.size.width-20,50) ; [self.view addsubview:button];
please me solve issue. thanks
Comments
Post a Comment