0
請幫助。當我按下按鈕時,我希望數據多次打印到陣列並填充到表格中。我有表的代碼只需要textview或數組的幫助,或者我需要一本字典嗎?每次按下按鈕時打印到陣列Xcode:
- (IBAction爲)份額{
if (textdata.text.length > 0)
{
alert1 = [[UIAlertView alloc]initWithTitle:@"Testimony" message:@"Posted Succcessfully: God Bless You" delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];
[alert1 show];
}
其他 { 報警1 = [[UIAlertView中頁頭] initWithTitle:@ 「見證」 消息:@ 「請把你的證詞」 委託:無cancelButtonTitle:@」好的「otherButtonTitles:nil];
[alert1 show];
}
array = [[NSMutableArray alloc]initWithObjects:textdata.text, nil];
}
打印數組是什麼意思。你有使用表來顯示數組的數據? –