Error : Insert Cells into a Section
<p>'NSInternalInconsistencyException', reason: 'attempt to insert row 1 into section 0, but there are only 1 rows in section 0 after the update'</p>

<pre><code>-(void)actionAddMore:(UIButton *)sender{

[_tblTask beginUpdates];
[_tblTask insertRowsAtIndexPaths:@[[NSIndexPath indexPathForRow:1 inSection:0]] withRowAnimation:UITableViewRowAnimationAutomatic];
[_tblTask endUpdates];

}
</code></pre>

<p><a href="http://i.stack.imgur.com/WvHVY.png" rel="nofollow">enter image description here</a></p>