Xamarin。为ios设计跨平台秒表

时间:2018-04-21 03:34:36

标签: xamarin.forms stopwatch

我完全是移动开发的新手。我需要一个秒表的例子。我的项目基于跨平台的xamarin.forms和运行ios作为主要平台。请帮我!谢谢!

1 个答案:

答案 0 :(得分:1)

.NET API Browser是一个很好的资源,您可以在这里找到所需的一切,在大多数情况下都可以找到示例。

从.NET API浏览器:

 $filename = 'zakaznici.txt';
$handle = fopen($filename, 'r');

$datain = fread($handle, filesize($filename));

$array = explode("\t",$datain);

echo "<table class='styl'><th>Jméno</th><th>Příjmení</th><th>Ulice</th><th>Číslo popisné</th><th>Město</th><th>PSČ</th><tr>".implode("</tr><tr>",array_map(function($a) {return "<td>".implode("</td><td>",explode("\t",trim($a)))."</td>";},explode("\n",$datain)))."</tr></table>";

可以找到完整的文档here

P.S。:我分享了针对.NET Standard 2.0的链接