場景:
????頁面FirstViewController跳轉(zhuǎn)到頁面SecondViewController,并將FirstViewController中的數(shù)據(jù)傳給SecondViewController。
1.在SecondViewController.h 中創(chuàng)建一個(gè)實(shí)例變量

2.在FirstViewController中包含?SecondViewController.h
3.在FirstViewController中創(chuàng)建一個(gè)UIButton的實(shí)例對象,并創(chuàng)建按鍵響應(yīng)事件,當(dāng)按鍵按下時(shí)會(huì)跳轉(zhuǎn)SecondViewController.并將值值傳給之前創(chuàng)建的實(shí)例變量。

4.跳轉(zhuǎn)到SecondViewController后,打印valueString
