Take your iPad apps to the next level

RSS for tag

Discuss the WWDC21 session Take your iPad apps to the next level.

Posts under wwdc21-10057 tag

6 Posts

Post

Replies

Boosts

Views

Activity

Set UIWindowScene.PresentationStyle on SwiftUI Scene?
Hi fellow SwiftUI developers, I have a sample view that I'd love to render as a modal window, similar to the Mail message compose window in iPadOS 15: WindowGroup("general.status", id: "create") { authorView } .handlesExternalEvents(matching: ["starlight://create"]) .commands { TextEditingCommands() } With this setup via handlesExternalEvents(matching:Set<String>), I can get a window to open using openURL with a custom identifier, and I can see the modal option in the multitasking menu. However, when opening this window, it still appears as a full-screen scene. I noticed that in "Take your iPad apps to the next level (WWDC21)", you can set a presentation style for a window in UIKit by setting the presentation style to UIWindowScene.PresentationStyle.prominent. However, I can't find anything equivalent to this in SwiftUI. Is there a way I can do this in SwiftUI, or call some UIKit code to set the WindowGroup (or the authorView) with that activation condition?
1
0
1.9k
Feb ’22
Keyboard shortcuts for standard iPadOS 15 keyboard shortcuts
My iPad app supports features such Copy (cmd-C) and Paste (cmd-V). How can I get these to show in the Edit menu when I hold down the Command key? Undo (cmd-Z) and Redo (shift-cmd-Z) show perfectly. Looks like the system internally looks at UndoManager. Same with Hide Sidebar: system detected presence of Sidebar and is showing the keyboard shortcut to hide it. Ramon.
1
0
1.2k
Jan ’22
A desired function?
Dear all developers, I’m an Apple product fan for about nine years. All my electronics, such as iPhone, iPad, macbook, AirPods, etc, all these are my usual belongings for every day. However there’s always a frustrating problem about my photos. I’m a piano learner/lover and without doubt I need to view music sheets which have been edited and saved in my photos…..then I got hundreds of photos in my iPad and actually every time it takes me huge amounts of time to catch the sheets I need!!! Is there any “rename” or “text label” function for every photo so that I could search the name and quickly locate ???  I sincerely advise that would be developed in the near future. Please be so kind as to see to it that my suggestions would arrive at the development department…..Thanks!
0
0
527
Oct ’21
How do I get the "real" frame of a prominent displayed scene in iPadOS 15?
iOS 15 adds a new way to display scenes which Apple seems to call "prominent" (docs). From what I can tell, your scene's window has a frame equal to the devices' main screen but then OS then scales it down for display. This is a problem because it seems that the keyboard's frame is not adjusted for this when listening to keyboard notifications via NotificationCenter which is making it impossible to implement keyboard avoidance for while the scene is displayed prominently. Has anyone else run into this or know of an API to get the actual dimensions of your scene so that it's possible to calculate?
1
0
835
Aug ’21
Set UIWindowScene.PresentationStyle on SwiftUI Scene?
Hi fellow SwiftUI developers, I have a sample view that I'd love to render as a modal window, similar to the Mail message compose window in iPadOS 15: WindowGroup("general.status", id: "create") { authorView } .handlesExternalEvents(matching: ["starlight://create"]) .commands { TextEditingCommands() } With this setup via handlesExternalEvents(matching:Set<String>), I can get a window to open using openURL with a custom identifier, and I can see the modal option in the multitasking menu. However, when opening this window, it still appears as a full-screen scene. I noticed that in "Take your iPad apps to the next level (WWDC21)", you can set a presentation style for a window in UIKit by setting the presentation style to UIWindowScene.PresentationStyle.prominent. However, I can't find anything equivalent to this in SwiftUI. Is there a way I can do this in SwiftUI, or call some UIKit code to set the WindowGroup (or the authorView) with that activation condition?
Replies
1
Boosts
0
Views
1.9k
Activity
Feb ’22
Keyboard shortcuts for standard iPadOS 15 keyboard shortcuts
My iPad app supports features such Copy (cmd-C) and Paste (cmd-V). How can I get these to show in the Edit menu when I hold down the Command key? Undo (cmd-Z) and Redo (shift-cmd-Z) show perfectly. Looks like the system internally looks at UndoManager. Same with Hide Sidebar: system detected presence of Sidebar and is showing the keyboard shortcut to hide it. Ramon.
Replies
1
Boosts
0
Views
1.2k
Activity
Jan ’22
In-App currency
Hello, Let's say a customer gains in-app currency (points). Can these points then be redeemed by said customer for gift cards like amazon?
Replies
0
Boosts
0
Views
593
Activity
Jan ’22
Cannot create a temporary .itmsp package for my app with Transporter
Hi, I added my app to Transporter but I got that message: Apple support confirmed my Bundle ID was ok. Any suggestion? Best, Steeve
Replies
6
Boosts
0
Views
8k
Activity
Dec ’21
A desired function?
Dear all developers, I’m an Apple product fan for about nine years. All my electronics, such as iPhone, iPad, macbook, AirPods, etc, all these are my usual belongings for every day. However there’s always a frustrating problem about my photos. I’m a piano learner/lover and without doubt I need to view music sheets which have been edited and saved in my photos…..then I got hundreds of photos in my iPad and actually every time it takes me huge amounts of time to catch the sheets I need!!! Is there any “rename” or “text label” function for every photo so that I could search the name and quickly locate ???  I sincerely advise that would be developed in the near future. Please be so kind as to see to it that my suggestions would arrive at the development department…..Thanks!
Replies
0
Boosts
0
Views
527
Activity
Oct ’21
How do I get the "real" frame of a prominent displayed scene in iPadOS 15?
iOS 15 adds a new way to display scenes which Apple seems to call "prominent" (docs). From what I can tell, your scene's window has a frame equal to the devices' main screen but then OS then scales it down for display. This is a problem because it seems that the keyboard's frame is not adjusted for this when listening to keyboard notifications via NotificationCenter which is making it impossible to implement keyboard avoidance for while the scene is displayed prominently. Has anyone else run into this or know of an API to get the actual dimensions of your scene so that it's possible to calculate?
Replies
1
Boosts
0
Views
835
Activity
Aug ’21