9
NSInteger month = [[[NSCalendar currentCalendar] components: NSCalendarUnitMonth
fromDate: yourFirstDate
toDate: yourSecondDate
options: 0] month];
Look at NSCalendars components:fromDate:toDate:options method. It allows you to subtract dates and then extract the months property value