I have two viewcontrollers 1) Profile.h &.m, 2) settings.h &.m. Both have NSimageview, so when i change imageview on settings,thenn at same time how change imageview on opened viewcontroller profile.
相关问题
- Xcode debugger displays incorrect values for varia
- Is there a way to report errors in Apple documenta
- Advice for supporting both Mac and Windows Desktop
- Avoid cmake to add the flags -search_paths_first a
- installing packages for python 3
相关文章
- 现在使用swift开发ios应用好还是swift?
- Visual Studio Code, MAC OS X, OmniSharp server is
- xcode 4 garbage collection removed?
- IntelliJ IDEA can't open projects or add SDK o
- Automator: How do I use the Choose from List actio
- ImportError: No module named twisted.persisted.sty
- How can I vertically align my status bar item text
- git command-line on Mac OS error “dyld: Symbol not
Use notification or Delegate method.
Notification method:
profile.m
settings.m
I have done thing by making one demo. In that demo i am selecting photo using UIImagePicker then displaying it in UIImage and passing that same image in other page. So you can do this thing in same way. Just you store your image in any variable and pass that variable to other page. I mean when you change your image in Setting ViewController, store that image in any variable and fetch that variable in your Profile ViewController and display image in your Profile ViewController.