Question: how to transfer messages from mac to new iphone?
Answer: Open messages on your Mac. Click on the Banner "Messages" -> Preferences. Then, click on "Account" and under your Apple ID Click "Enable Messages in iCloud". This should sync your messages across all your Apple devices.