Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
编译时,尝试将坐标返回到类的委托方法时出现以下错误。
将“CLLocationCoordinate2D”发送到“CLLocationCoordinate2D *”类型的参数
我知道它必须与指针有关,但我不太确定如何解决它。
只需获取地址并返回:
CLLocationCoordinate2D thing; [delegate methodcall:&thing];