IBOutlet does not display its value in UI

后端 未结 2 1071
离开以前
离开以前 2021-01-26 00:32

I am building an iOS app using storyboards.I have implemented google maps in my app using swift and rest of the code is in objective C.

My scenario:

1.As shown

2条回答
  •  无人共我
    2021-01-26 00:40

    Try storing the location as a NSString strong property of your Host view controller OR Post a notification to your host view from Maps And in the viewWillAppear of the Host, First- NSLog the NSString and Second- assign this string to the label as text

提交回复
热议问题