- Fixed warning on iOS 7 when using drawinrect.

- Upgraded minimum target to iOS 7.