Apple Inc affirmed on Wednesday its iPhone sales goal for this year and said it will give details next week of how outside programmers can create software for its iPhone, a move expected to spur demand for the multifunction device.