This repository was archived by the owner on Apr 29, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
ios11/WeatherWidget/WeatherWidget.Shared
ios12/ExceptionalAccessibility/ExceptionalAccessibility
ios8/HelloGoodbye/HelloGoodbye/Screens Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public static string GetImageAssetName(this Weather self)
4444 public static UIImage GetImageAsset ( this Weather self )
4545 {
4646 var assetName = self . GetImageAssetName ( ) ;
47- var image = UIImage . FromBundle ( assetName , null , null ) ;
47+ var image = UIImage . FromBundle ( assetName ) ;
4848 if ( image == null )
4949 {
5050 throw new Exception ( $ "Expected an image named { assetName } ") ;
Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ public override void ViewDidLoad()
6060 this . shelterInfoView . IsAccessibilityElement = true ;
6161 this . shelterInfoView . AccessibilityCustomActions = new UIAccessibilityCustomAction [ ]
6262 {
63- new UIAccessibilityCustomAction ( "Call" , this . ActivateCallButton ) ,
64- new UIAccessibilityCustomAction ( "Open address in Maps" , this . ActivateLocationButton )
63+ new UIAccessibilityCustomAction ( "Call" , probe : ActivateCallButton ) ,
64+ new UIAccessibilityCustomAction ( "Open address in Maps" , probe : ActivateLocationButton )
6565 } ;
6666 }
6767
Original file line number Diff line number Diff line change @@ -122,10 +122,10 @@ CardView AddCardViewToView(UIView containerView)
122122 cv . AddGestureRecognizer ( swipeDownRecognizer ) ;
123123
124124 string sayHelloName = "Say hello" . LocalizedString ( @"Accessibility action to say hello" ) ;
125- helloAction = new UIAccessibilityCustomAction ( sayHelloName , SayHello ) ;
125+ helloAction = new UIAccessibilityCustomAction ( sayHelloName , probe : SayHello ) ;
126126
127127 string sayGoodbyeName = "Say goodbye" . LocalizedString ( "Accessibility action to say goodbye" ) ;
128- goodbyeAction = new UIAccessibilityCustomAction ( sayGoodbyeName , SayGoodbye ) ;
128+ goodbyeAction = new UIAccessibilityCustomAction ( sayGoodbyeName , probe : SayGoodbye ) ;
129129
130130 UIView [ ] elements = NSArray . FromArray < UIView > ( ( NSArray ) cv . GetAccessibilityElements ( ) ) ;
131131 foreach ( UIView element in elements )
You can’t perform that action at this time.
0 commit comments