How to get data to return from NSURLSessionDataTask

后端 未结 4 797
夕颜
夕颜 2020-12-16 05:16

I have a registration view controller which handles all the user input and calls a function in another class (wsClass) passing to it, that data as an NSDictionary.

T

4条回答
  •  [愿得一人]
    2020-12-16 05:57

    This might work.

    1. Add an interface variable nsDictVariable for NSDict or whatever you are retrieving in the class
    2. Within SendData assign it: self.nsDictVariable = ....

提交回复
热议问题