2
我無法從角落展開UITable。UITableView出現一個動畫(從一個角落展開)
這是我做的:
tableAccounts = [[UITableView alloc] initWithFrame:CGRectMake(0, 71, 0,0)];
[self.view addSubview:tableAccounts];
[UIView beginAnimations:@"tableAppearing" context:nil];
[UIView setAnimationDuration:3.0f];
[UIView setAnimationCurve:UIViewAnimationCurveLinear];
tableAccounts.frame = CGRectMake(0, 71, 320, 332);
tableAccounts.backgroundColor = [UIColor redColor];
[UIView commitAnimations];
我可以看到該表從左上角出現,而不是擴大!我的意思是表格從不改變它的大小,它的大小始終是相同的,並且它正在出現。 我想要同樣的效果,但從一張小桌子開始,並且做得更大。
有可能嗎?