Comments (5)
I am also seeing this problem and can't figure out why. Sometimes the text just appears a few seconds later.
Could it have to do with some UI code no running on the main thread?
from uibubbletableview.
I've been seeing this intermittently since iOS7 as well. I'm using a heavily modified subclass of HPLChatTableViewCell and I assumed that I broke something, but this sounds like behavior I've encountered.
from uibubbletableview.
Same problem here. Any solutions yet?
I'm also running some code out of the main thread, but when I log the content of the cell everything seems to be ok and the data is already available.
from uibubbletableview.
I was facing the same issue when I scroll down/up the rows and then dismissed the keyboard some texts disappeared, I was able to reproduce it quite easy. I found out that the UILabel was not in the view hierarchy of the UITableViewCell when the text disappeared. There are similar issues discussed on the stackoverflow and one recommended solution is to use view tag along with the views which are dynamically added/removed - I tried it and it worked. The code snippet is like this:
[[self.contentView viewWithTag:kCustomViewTag] removeFromSuperview];
self.customView = data.view;
self.customView.tag = kCustomViewTag;
[self.contentView addSubview:self.customView];
from uibubbletableview.
Below is a similar fix that works for me.
- (void)prepareForReuse
{
[super prepareForReuse];
if (self.customView.superview == self.contentView) {
[self.customView removeFromSuperview];
}
self.customView = nil;
}
from uibubbletableview.
Related Issues (20)
- Chat bubble Items overlaping HOT 6
- Background color HOT 1
- Added Name Tag under chat bubble HOT 1
- Added Name Tag under chat bubble HOT 1
- UIBubbleTableView is not working with 64 bit os device HOT 5
- Cannot see message field on iphone 4 (3.5 inch)
- text data is not displaying quickly (taking time in update) after reload tableview HOT 5
- iphone 5s HOT 6
- How to add UITapGestureRecognizer on Avatar image both right and leftside? HOT 2
- Make URL clickable inside bubble? HOT 1
- I will donate $100 if someone ports this correct to Xamarin C# HOT 5
- Storyboard HOT 1
- how to enable select row feature in UIBubbleTableView
- How can i check "What is the type of data".
- Scroll issue HOT 1
- date and time hide in chat
- Hi, the UIBubbleTableView was very useful but... HOT 1
- Not able to reduce the cell height in NSBubbleData library
- View takes time to load
- UIBubbleTableHeaderview was appearing multiple times
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uibubbletableview.