0

Is there a way to drop current UIStoryboard and reload that one? I have a project like this. enter image description here

If not, is it possible to refresh all view? Purpose is I need to set all UILabel, UIButton text again.

lblTest.text = @"Testing";
Khant Thu Linn
  • 5,035
  • 5
  • 42
  • 111

2 Answers2

1

From your comment I understand that this question isn't so much about refreshing your storyboard as it is about getting your app to be localized for English and Chinese speaking users.

Check out 'Internationalization and Localization' in the iOs Developer library. This is where you can find the resources required to turn your app into a multilingual app. They also provide a sample app called InternationalMountains, but that doesn't go into labels so much. Luckily, there are many suitable tutorials out there, like

5Ke
  • 924
  • 7
  • 27
0

When you initially set up your controller, you should populate the labels and button text in a method that you call from viewDidLoad. When you want to "refresh" your view, to make it look like the initial condition, just call this method again. You don't need to reload the storyboard to do that.

rdelmar
  • 102,832
  • 11
  • 203
  • 218
  • yes. I shall do like that.However, I need to do all for all my uiviewcontroller, uitableview, uitableviewcell, etc and those will be above 50 files. I afraid I will need to write for all those. As a result, I am thinking to just drop current storyboard and reload that one. – Khant Thu Linn Sep 16 '14 at 06:21