0
我對iOS編程(以及編程)還是一個新手,並試圖找出一些基礎知識。我的問題是:在secondViewController中聲明的firstViewController中加載一個動作
我想單擊secondViewController中的按鈕來顯示firstViewController中的文本「按鈕在secondViewController中被按下」 - 這可能嗎?
我對iOS編程(以及編程)還是一個新手,並試圖找出一些基礎知識。我的問題是:在secondViewController中聲明的firstViewController中加載一個動作
我想單擊secondViewController中的按鈕來顯示firstViewController中的文本「按鈕在secondViewController中被按下」 - 這可能嗎?
是有可能....可以有不同的方式做到這一點.... 你可以嘗試以下解決方案: 1.代表團 2.本地通知 3.志願 4.使用共享的情況下, (如AppDelegate)
在互聯網上有各種資源可用於所有這些...我不需要詳細提及它們。
非常感謝。你可以鏈接到一個例子或鏈接,我可以找到一些細節? –
嘗試通過委託... http://stackoverflow.com/questions/645449/how-to-use-custom-delegates-in-objective-c – iSaalis