Just inspect the element if it will be inside iframe, SelectorsHub will show “in iframe” in the SelectorsHub tab.
To write the xpath/cssSelector for any element which is inside an iframe, just inspect that element and start typing.
To verify any selector (xpath or cssSelector) inside an iframe, first inspect any element inside that iframe in which you want to verify your selector then verify your selector.