UPDATED the Clock-iOS to compatible with new APIs.