Apple Inc. reassures investors with revenue forecast, despite declines in China and iPhone sales, boosting shares.