mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-13 09:50:17 +00:00
[Documentation] Update Inversion Docs (#647)
* Update docs append inversion example about swift language * apply github comment
This commit is contained in:
parent
63efdbde8f
commit
d8c2a8edd2
@ -23,8 +23,10 @@ When this is enabled, developers only have to take one more step to have full in
|
|||||||
self.tableNode.view.scrollIndicatorInsets = UIEdgeInsetsMake(0, 0, inset, 0);
|
self.tableNode.view.scrollIndicatorInsets = UIEdgeInsetsMake(0, 0, inset, 0);
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<pre lang="swift" class = "swiftCode hidden">
|
<pre lang="swift" class = "swiftCode">
|
||||||
|
let inset = self.topBarsHeight
|
||||||
|
self.tableNode.view.contentInset = UIEdgeInsets(top: 0.0, left: 0.0, bottom: inset, right: 0.0)
|
||||||
|
self.tableNode.view.scrollIndicatorInsets = UIEdgeInsets(top: 0.0, left: 0.0, bottom: inset, right: 0.0)
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user