Taylor Swift has admitted that her song I Knew You Were Trouble (from her current album 'Red') was written about One Direction's Harry Styles.