SwiftUI – Half modal?
I’ve written a Swift Package that includes a custom modifier that allows you to use the half modal sheet. Here is the link: https://github.com/AndreaMiotto/PartialSheet Feel free to use it or to contribute
I’ve written a Swift Package that includes a custom modifier that allows you to use the half modal sheet. Here is the link: https://github.com/AndreaMiotto/PartialSheet Feel free to use it or to contribute
On iPad the activity view controller will be displayed as a popover using the new UIPopoverPresentationController, it requires that you specify an anchor point for the presentation of the popover using one of the three following properties: barButtonItem sourceView sourceRect In order to specify the anchor point you will need to obtain a reference to … Read more
First, create the files. I chose to name mine ActivityViewCustomActivity Make ActivityViewCustomActivity.h look like this: #import <UIKit/UIKit.h> @interface ActivityViewCustomActivity : UIActivity @end Make ActivityViewCustomActivity.m look like this: #import “ActivityViewCustomActivity.h” @implementation ActivityViewCustomActivity – (NSString *)activityType { return @”yourappname.Review.App”; } – (NSString *)activityTitle { return @”Review App”; } – (UIImage *)activityImage { // Note: These images need … Read more