uitableview - load data in table view after scrolling to bottom -


I have an initial table unpublished. Oh, the witch is fully displayed (UIScrollView *) scrollview willDecelerate: (bool) Speed ​​{CGFloat currentOffset - (zero) scrollViewDidEndDragging

 : But one wants to scroll down and load another row of data .. I used this = ScrollView.contentOffset.y; CGFloat Maximum Offset = Scrollview. Contents. Highlight - Scrollview.fr. Eyes height; If (maximum offset - current offset & lt; = 10.0) {[self-loaded viewable view]; }} - (zero) insertRowInTableView {[self.unreadmessagesArray addObject: self.messagesIfScroll]; [Start MytableView Update]; NSArray * path = [NSArray arrayWithObject: [NSIndexPath indexPathForRow: ([self.unreadmessagesArray count] - 1) insection: 0]]; [MytableView insertRowsAtIndexPaths: Route with animation; Animation: No]; [MytableView and Updates]; [Reload mytableView data]; } - (zero) getMessagesIfScollToBottom {self.messagesIfScroll = [NSMutableArray arrayWithArray: responseA]; }  

Error I get: Exception occurred 'NSInvalidArgumentException', due to reason the application ended: '- [__NSArrayI addObject:]: Non-accredited selector example 0xa20b620 Sent to '

Where is the problem?

"itemprop =" text "> thank you

use your code

[ In self UnreadmessagesArray addObjectsFromArray: self.messagesIfScroll];

instead of [self.unreadmessagesArray addObject: self.messagesIfScroll];


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

c# - WPF Expander overlay used in ItemsControl -

class - Kivy: how to instantiate a dynamic classes in python -