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

Git error fatal: No such remote 'origin'

QuestionOn my computer, I run some commands to create git repository. $ mkdir test$ cd test$ git ini...
Mar 24, 2020 Git 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

Example of multipart/form-data post in Objective C

Use Objective C to implement the http post method and send data with Content-Type in multipart/form-...
Mar 18, 2020 Objective C Comments 0

HttpURLConnection request array or json data

Using Java's HttpURLconnection request, GET or POST method. You can submit an array or json to the s...
Mar 16, 2020 Java HttpURLConnection Comments 0

React Native ios Error [RCTModuleMethod.mm:375] Unknown argument type '__attribute__'

QuestionThe package.json for my React Native project is as follows: "react": "16.8.3", "react-native...
Mar 11, 2020 Objective C Comments 0

Visual Studio 2019 go to the specified line shortcut

Use Visual Studio 2019 shortcut, we can locate the cursor on the specified line quickly.WindowsCtrl ...
Mar 07, 2020 IDE Comments 0

Make the raw body in jQuery Ajax

Using jQuery's $.ajax function to post data to server, The default Content-Type is application/x-www...
Mar 05, 2020 Javascript Comments 0

Parsing the URL query string into an NSDictionary using Objective C

In IOS, we want to parsing the URL query string into NSDictionary. It is convenient for us to read.E...
Mar 03, 2020 Objective C Comments 0

Delete a whole line or multiple lines using Visual Studio shortcuts

Here are several ways to remove lines of code (such as C #, C ++, etc.) using Visual Studio 2019.Win...
Mar 02, 2020 IDE Comments 0