这是一个正在发生的事情的视频:https://imgflip.com/gif/kgvcq
基本上,如果单元格滚动超过屏幕的下边缘,它将不会反弹.我试着更新contentSize了的tableView似乎并不成为问题,但.我也确保宣布rowHeight并且仍然没有运气.最后,我确保正确设置bounce属性tableView.
嗨,大家好抱歉没有提供代码,这里是:
// data source
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
NSLog(@"frame height: %f", tableView.frame.size.height);
NSLog(@"content size height: %f", tableView.contentSize.height);
static NSString *CellIdentifier = @"HabitCell";
HabitTableViewCell *cell = (HabitTableViewCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
cell.viewController = self;
cell.delegate = self;
// edit cell
return cell;
}
Run Code Online (Sandbox Code Playgroud)
在NSLogs分别568和400:正在返回.是框架会导致问题吗?另外,我还没有覆盖scrollViewDidScroll.
实施数据源方法
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
// Return the number of rows in the section.
return [self.habits …Run Code Online (Sandbox Code Playgroud) 我创建了一个应用程序并将其卖给了客户.快进10个月,他让我对我做的应用程序做了一些工作.现在我正在尝试为他提交应用程序.
我在iTunesConnect中有"App Manager"角色.我遇到的问题是,当我尝试在Xcode中存档应用程序时,我遇到以下问题:
无法创建配置文件.应用ID"com.xxxx.xxxx"无法注册到您的开发团队.将您的包标识符更改为唯一字符串以重试.
和
找不到"com.xxxx.xxxx"的个人资料.Xcode找不到与"com.xxxx.xxxx"匹配的配置文件.
我以前创建过配置文件,但是如何创建这个呢?如果我需要"App ID"通过https://developer.apple.com/创建它,我将如何重新创建它?我差不多一年前卖掉它时删除了这个app id.
我的想法就是这样:客户将我添加为应用程序管理员,现在我可以在itunesconnect.apple.com上看到我正在进行的应用程序.如何让这个"团队"出现在Xcode中以获取配置文件?
在文档上它说如下:
您可以通过在构建设置中添加以下预处理器宏来启用Mixpanel日志记录:MIXPANEL_LOG = 1和MIXPANEL_DEBUG = 1.
这就是我做的:

但我的事件中没有出现在控制台中:(
这是我跟踪事件的方式:
Mixpanel *mixpanel = [Mixpanel sharedInstance];
[mixpanel track:@"TEST"];
Run Code Online (Sandbox Code Playgroud)