ios - How to change current text in text field from another view at runtime -
i have storyboard this.
my question how i, when log
button pressed, example, add "log("
text field in main view? can accomplish opening new view updated text field via segues, need keep both current views open , update text without showing new view. in advance!
you should read bit delegation: https://developer.apple.com/library/ios/documentation/general/conceptual/devpedia-cocoacore/delegation.html
nevertheless set quick demo project you. hope helps: https://www.dropbox.com/sh/50cosenyi3u26s8/aaa3ktjyvimuk02oel4bhjska?dl=0
Comments
Post a Comment