Ken Kocienda, the former Apple engineer who wrote the original iPhone keyboard with the dictionary, auto-correct and other features, says blocking suggestions for any swear words that the user might type was a necessary tradeoff that the team simply had to make.
Why iOS keyboard offers “ducking” suggestions & never assists you in typing obscenities