Skip to content

Commit

Permalink
Change shareable image dimensions to 9:16
Browse files Browse the repository at this point in the history
Instagram will crop images not in a 9:16 ratio
  • Loading branch information
bjtitus committed Dec 10, 2024
1 parent 9182924 commit a4a1725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion podcasts/End of Year/StoryShareableProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class StoryShareableProvider: UIActivityItemProvider {
let snapshot = AnyView(view)
.modify(viewModifier)
.environment(\.renderForSharing, true)
.frame(width: 370, height: 800)
.frame(width: 450, height: 800)
.snapshot()

let snapshotURL = save(snapshot: snapshot)
Expand Down

0 comments on commit a4a1725

Please sign in to comment.