Apple's Music app and their devices don't support FLAC, but they do support Apple Lossless format. It's annoying to have 2x the files if you want to support both ecosystems, but if you only want to have lossless music in Apple-land, you can use XLD to do a one-time convert.