im using Asihttprequest for my HTTP request, and my app will handel 3 language : arabic, french and english but Asihttprequest error localizedDescription return always an english description. is Asihttprequest request use the default ios systeme localisation description? if yes how can i localize error ? thank you.
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
- Attempt to present UIAlertController on View Contr
I am not sure of what exactly you asked for, but you can try this.
In the ASIHttpRequest.m file
Initialize
method useNSLocalizedString(@"REQUESTTIMEOUT_KEY", @"The request timed out")
instead of@"The request timed out"
.Have the
"REQUESTTIMEOUT_KEY" = "EngVersion:The request timed out";
in the corresponding localizable.strings file.Sample Code: