unregonised selector sent when setting mapagecount in buddy service

0 votes
When i try to set maxPageCount on buddy service for getAllMessages. It throws an exception of unrecognized selectore sent. When i omit this line everything works fine. I ahve to set limit the data return. Please have a look at this. Waiting for your response :) :)
asked Apr 4, 2016 in iOS by zohaib.ehsan (10 points)

1 Answer

0 votes
Hello Zohaib,

Can you please share the code snippet in which you are getting the problem? It will help to debug the issue.

Thanks.
answered Apr 4, 2016 by rajeev.etc (1,660 points)
BuddyService *buddyService = [App42API buildBuddyService];
    
buddyService.pageMaxRecords = 20;

just these two lines. when i comment the maxpagecount it works fine. I have checked the type of maxpage count is int.
Hello Zohaib,

I have fixed this issue in the SDK and the updated sdk can be downloaded from here(https://www.dropbox.com/s/luvgs99ksdsop06/Shephertz_App42_iOS_API.zip?dl=0).

Please try and let me know if you face any problem.

Thanks.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...