我有标签栏,在视图"A"和"A"我有导航控制器.所以我的导航控制器里面的"A"我叫了
[self presentModalViewController:modalView animated:YES]
Run Code Online (Sandbox Code Playgroud)
但modalView显示在标签栏下.如何在标签栏上方显示它?
objective-c uitabbarcontroller presentmodalviewcontroller ios
我刚刚创建了AVPlayer,它可以很好地播放音乐.我有两个问题
在我的应用我有自定义UITableViewCell,我有UIStepper和UILabel自定义单元格.我不知道如何检查单击哪个步进器.那么它是一种了解单击哪个单元步进器的方法吗?
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
UITableViewCell *cell;
NSString *CellIdentifier = @"Cell";
cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"CustomCell" owner:self options:nil];
if ([nib count] > 0) {
cell = self.tbcell;
}
}
return cell;
}
Run Code Online (Sandbox Code Playgroud) ios ×2
iphone ×2
objective-c ×2
avfoundation ×1
avplayer ×1
uislider ×1
uistepper ×1
uitableview ×1