Get the specific model number of the iOS device

Use the following methods in Objective C:NSString *deviceType = [[UIDevice currentDevice] model];It ...
Dec 30, 2023 Objective C Comments 0

Xcode - Undefined symbols for architecture i386, in release mode

IssueIn Xcode, I try to run the target of simulator in release mode, the following error appears whe...
Mar 28, 2021 Objective C Comments 0

After upgrading iOS to 13.6, Xcode debug error "iPhone is not available.Please connect the device"

IssueAfter upgrading iOS to 13.6, I connet my iPhone to debug, but I get an error message saying "iP...
Sep 12, 2020 Objective C Comments 0

Concatenate strings in Objective C

Here are several ways to connect multiple strings using Objective C.stringByAppendingStringTo concat...
Jul 02, 2020 Objective C Comments 0

Convert between JSON String and NSDictionary/NSArray

In iOS, the NSJSONSerialization class of Objective C is used to convert between JSON strings and obj...
Apr 17, 2020 Objective C Comments 0

Convert between NSString and NSData

With Objective C in iOS, we can convert the value of NSString to NSData.NSString* str = @"Hello Worl...
Apr 16, 2020 Objective C Comments 0

[iOS] When scheme is Release, Undefined symbol: _RCTSetLogFunction

QuestionUpgrade React Native 0.60 to 0.61. When Scheme is set to Debug, it runs without problems. An...
Apr 01, 2020 Objective C Comments 0

POST request using application/x-www-form-urlencoded with Objective C

Using Objective C to post request withapplication/x-www-form-urlencodedbody. The data will be encode...
Mar 28, 2020 Objective C Comments 0

React Native Error: must be used from main thread only

QuestionIn iOS, I use Objective C to create my own native module.RCT_EXPORT_METHOD(startPay:(NSStrin...
Mar 26, 2020 Objective C Comments 0

React Native StatusBar dark-content not working on iOS 13 dark appearance

QuestionReact Native 0.60.5 . Light mode in iOS 13 or earlier versions is normal. However, there is ...
Mar 21, 2020 Objective C Comments 0