objective c - Mailcore2 iOS Test sample duplicating emails when loading more -


i using mailcore2 email library in ios app. following "ios test" sample mail core project. when click on "load 10 more" option @ bottom of email table view, emails getting duplicated in table "ios test" sample project. want integrate , not getting how fix this, tried comment out line [combinedmessages addobjectsfromarray:strongself.messages]; in loadlastnmessages function, not helped. please advise me how solve duplicate email listing in table view issue?

screenshot duplicating email date being displayed when loading more mails.

enter image description here

i have same problem.

step reproduce:

1-load email message (account a).

2-send email "account b" "account a".

3-load more messages. if change strongself.messages = nil before execute code "combinedmessages addobjectsfromarray:strongself.messages];". not duplicate. it's not working if account doesn't receive new email.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -