Comments (8)
Thanks @bmctigue. For the sake of cross-app UI consistency, the SDK does not support such appearance customization.
from paypal-ios-sdk.
Thanks for the quick reply.
I'm not sure what you mean. How does hardcoding the color to white help cross app consistency. It's not consistent with the rest of the paypal app. The other view navigation bars behave properly and they are not white. This means I potential have to remove the api. No one else is having this issue? Please look at the other paypal views/viewcontrollers. Update the Navbar appearance to something other than white and they behave correctly.
Thanks Bruce
from paypal-ios-sdk.
@bmctigue the SDK is designed with the specific intention of not accommodating such UI customizations. That you are able to modify the colors of the PayPalPaymentViewController
navigation bar is an oversight.
We appreciate you reporting this. We'll make a change to prevent such customization shortly, and we'll add a note to the documentation.
By "cross-app UI consistency" I mean maintaining a consistent user experience across a variety of integrating apps.
Thanks.
from paypal-ios-sdk.
Ah, ok. I understand. I would assume then that you will need to hardcode the navitems, button text etc also, so the host app won't change those.
Thanks for the response.
from paypal-ios-sdk.
Hey,
Anything changed in that manner? I have appearance tint color of nav bar set to white which result in not being able to see any buttons on modal view w/ credit card text fields.
My workaround is setting before presenting PayPalPaymentViewController
:
[[UINavigationBar appearance] setTintColor:nil];
And in viewWillAppear doing again:
[[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];
Attached view before using fix presented above.
from paypal-ios-sdk.
@ssuchanowski at this time, the fix you have implemented is indeed the correct approach.
from paypal-ios-sdk.
@ssuchanowski
you should change navigationBarColors
[[UINavigationBar appearance] setTintColor:nil];
[[UINavigationBar appearance] setTitleTextAttributes:@{ NSForegroundColorAttributeName : [ConstantValues systemBlackColor]}];
[[UINavigationBar appearance] setBarTintColor:nil];
}
before presenting PayPalPaymentViewController
and write restore navigationbarColors in the
viewWillAppear on presentedViewController
from paypal-ios-sdk.
@bayraa1992 - please read the post first. I posted the exact solution there.
from paypal-ios-sdk.
Related Issues (20)
- PayPal iOS SDK acceptCreditCards = YES Crash HOT 2
- Canadian Company - Direct credit card transaction fails, but paypal account transactions succeed HOT 3
- Paypal works even empty or invalid Credentials for Sanbox account? HOT 1
- PayPal SDK: Request has failed with error: PAYMENT_CREATION_ERROR - There was a problem setting up this payment. Please visit the PayPal website to check your account. (422) | PayPal Debug-ID: a02b03ac608db, a02b03ac608db [sandbox, PayPal iOS SDK 2.14.3] HOT 8
- Mismatch in documentation HOT 3
- in localization when change view direction HOT 2
- app crashes when user clicks on pay with card on Paypal screen HOT 1
- PAYMENT_CREATION_ERROR CN account HOT 1
- Could I use PayPal iOS SDK on my country Brazil? HOT 2
- Permission Issue HOT 1
- PayPal SDK: Request has failed with error: REQUIRED_SCOPE_MISSING - System error. Please try again later. (403) | PayPal Debug-ID: b4046739be1f1, b4046739be1f1 [sandbox, PayPal iOS SDK 2.18.1]
- Payment not Processable HOT 2
- UNAUTHORIZED_PAYMENT HOT 1
- Layout issue HOT 1
- Recurring Payment HOT 1
- Card Cache Issue HOT 1
- When ever I open the iOS app it showing "Service unavailable" alert HOT 2
- Payment is not showing in www.sandbox.paypal.com HOT 1
- @sharathvatti Thanks for the report. There is an internal ticket SRE-43154 to track this new issue. My apologies for the inconvenience. HOT 1
- INTERNAL_SERVICE_ERROR HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paypal-ios-sdk.