On iOS, an app can use a different language than the system language if the developer passes the NSLocale
to the right instances, or else if the proper values are written to NSUserDefault
's AppleLanguages
key.
I don't seem to find a way to do this also for the region, the part that takes care of number formatting.
The use case here is that I want a UITextfield
's DecimalPad
keyboard to show a comma for a decimal no matter what the system's region is set to.
Is this possible?
Type I regions are regions that are bounded by vertical lines x=a and x=b, and curves y=g(x) and y=h(x), where we assume that g(x)<h(x) and a<b. Then we can integrate first over y and then over x:∬Rf(x,y)dA=∫bx=a∫h(x)y=g(x)f(x,y)dydx.
You can use AppleLocale
instead of AppleLanguages
.
E.g. -AppleLocale nl_BE
will set the locale to Dutch with region Belgium.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With