Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIBubbleTableView doesn't render in IOS 64-bit simulator

I'm running out of ideas and hoping someone in the community might give me some pointers. I'm currently using UIBubbleTableView (http://alexbarinov.github.io/UIBubbleTableView/) to integrate in-app chat into my project. Everything works/renders fine when I use iOS non-64-bit simulators. Once I use the iOS 64-bit simulator, the UIBubbleTable doesn't render. Here's what I know:

1. It's not a problem with the datasource. The data loads fine. numberOfRowsInSection, numberOfSectionsInTableView, cellForRowAtIndexPath all return expected non-null results.

2. The example UIBubbleTableView project looks like it works fine with the 64-bit simulator.

3. I created a test ViewController in my own project and copy and pasted ViewController.m/h/xib straight from the example project to my project and the bubbletable doesn't show.

I'm now wondering if it's a 64-bit caching or configuration issue. Any pointers would be greatly appreciated.

like image 558
user3081257 Avatar asked Dec 22 '13 01:12

user3081257


Video Answer


2 Answers

replace

(float)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath

for

(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath

in UIBubbleTableView.m

like image 85
rafaelrcm Avatar answered Sep 29 '22 20:09

rafaelrcm


I make it to work by changing the the project "Build Settings" and under "Architectures" change it to match what the UIBubbleTableView use which is "$(ARCHS_STANDARD_32_BIT)". But I do want to know why if it is set to 64bit, the cell don't render. Hope will hear someone actually able to fix this issue.

like image 30
ronlee Avatar answered Sep 29 '22 19:09

ronlee