Jarada/myLauncher — Issue #8: Issue with one icon on 2nd page
Author: akatreyt
Created: 2012-01-31 03:47:09+00:00
State: open

If I have an iPhone that allows 9 icons per page and I have 10 icons so that there is 1 icon on the second page, then that one icon on the 2nd page can not be moved. The issue seems to be that

NSInteger page = sItemLocation.page;

isn't getting updated when the lone icon from the 2nd page is being dragged onto the 1st page, it always remains the default value of 1.

Since the above isn't happening it is causing

NSMutableArray *itemPage = [self.pages objectAtIndex:page];

to stay at one which in turn fails at

if (dragIndex < [itemPage count])

Thanks for any solution to this problem.