Closed nagarajas closed 4 years ago
We are unable to spy or find controls which renders within FlowColumnTemplate in iOS.
What all option tried?
'{ public class FlowListViewInternalCellRenderer : ViewCellRenderer { public override UIKit.UITableViewCell GetCell(Xamarin.Forms.Cell item, UIKit.UITableViewCell reusableCell, UIKit.UITableView tv) { tv.AllowsSelection = false; var cell = base.GetCell(item, reusableCell, tv); cell.SelectionStyle = UITableViewCellSelectionStyle.None; cell.IsAccessibilityElement = true; return cell; } } }`
How to verify?
Download http://appium.io/
Mention Host: 127.0.0.1 and Port:4723 and click on Start Server
Start Inspector Session and ensure to choose Automatic Server
Provide following capabilities { "platformName": "iOS", "automationName": "XCUITest", "app": "{Yourpath}/iPhoneSimulator/Debug/DLToolkitControlsSamples.iOS.app", "deviceName": "iPhone 11 Pro" }
{ "platformName": "iOS", "automationName": "XCUITest", "app": "{Yourpath}/iPhoneSimulator/Debug/DLToolkitControlsSamples.iOS.app", "deviceName": "iPhone 11 Pro" }
We could able to resolve this issue by upgrading to latest Xamarin.Forms
We are unable to spy or find controls which renders within FlowColumnTemplate in iOS.
What all option tried?
'{ public class FlowListViewInternalCellRenderer : ViewCellRenderer { public override UIKit.UITableViewCell GetCell(Xamarin.Forms.Cell item, UIKit.UITableViewCell reusableCell, UIKit.UITableView tv) { tv.AllowsSelection = false; var cell = base.GetCell(item, reusableCell, tv); cell.SelectionStyle = UITableViewCellSelectionStyle.None; cell.IsAccessibilityElement = true; return cell; } } }`
How to verify?
Download http://appium.io/
Mention Host: 127.0.0.1 and Port:4723 and click on Start Server
Start Inspector Session and ensure to choose Automatic Server
Provide following capabilities
{ "platformName": "iOS", "automationName": "XCUITest", "app": "{Yourpath}/iPhoneSimulator/Debug/DLToolkitControlsSamples.iOS.app", "deviceName": "iPhone 11 Pro" }