你如何从UIDatePicker获得时间?
我有一个按下按钮,我有一个IBAction,那么什么代码可以获得数据?
我还想在计时器上输入时间,而不是启动计时器.
哦,是的,日期选择器是计时器,而不是日期.
我一直在研究一个我想从中赚钱的应用程序,但如果它花钱,没有人会买它.有没有人知道任何教程,或了解自己,如何将iAd引入应用程序?谢谢.
嘿伙计们,我是Objective-C的新手,而且我正在创建一个应用程序,当你点击一个表格单元格时,它会按照它应该做的,但是当你第二次回到并点击单元格时,它就会与"EXC_BAD_ACCESS"崩溃.你能告诉我它意味着什么,为什么它只是第二次崩溃,我怎么能解决它?我很确定它在这个功能中:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
// Navigation logic may go here. Create and push another view controller.
RaceData * data = [self.units objectAtIndex:indexPath.row];
ProtossInfo * info = [[ProtossInfo alloc] initWithNibName:@"ProtossInfo" bundle:nil];
// ...
// Pass the selected object to the new view controller.
[self.navigationController pushViewController:info animated:YES];
info.title = data.titler;
info.minerals.text = data.min;
info.vespene.text = data.vesp;
info.supply.text = data.sup;
info.portrait.image = data.porty;
[info release];
[data release];
}
Run Code Online (Sandbox Code Playgroud) 有没有办法让UIPickerView将数字升级为无穷大?哈哈.开玩笑,但说真的,我只想要一堆数字,但我不想硬编码.
提前致谢!