diff options
author | Nicholas Tay <nick@windblume.net> | 2022-03-16 13:10:34 +1100 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2022-03-16 13:10:34 +1100 |
commit | a296cb07500b1300385dae413149494eeb6d5905 (patch) | |
tree | 3ff70c05d346019a26f6fd6c8f17837e58942e20 /foray/Base.lproj/Main.storyboard | |
parent | 0955c54d7b021a6293b267fb8a31ff75c0daa154 (diff) | |
download | forayios-a296cb07500b1300385dae413149494eeb6d5905.tar.gz forayios-a296cb07500b1300385dae413149494eeb6d5905.tar.bz2 forayios-a296cb07500b1300385dae413149494eeb6d5905.zip |
Add refresh control + fix weird caching
It might be my web server causing the weird caching with headers (it's
just a json file on nginx). Changing the policy in the request seems to
have fixed it though.
Refresh control references:
- https://stackoverflow.com/questions/24475792/how-to-use-pull-to-refresh-in-swift
Diffstat (limited to '')
-rw-r--r-- | foray/Base.lproj/Main.storyboard | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/foray/Base.lproj/Main.storyboard b/foray/Base.lproj/Main.storyboard index 17cfb05..b6b3f86 100644 --- a/foray/Base.lproj/Main.storyboard +++ b/foray/Base.lproj/Main.storyboard @@ -122,6 +122,9 @@ </connections> </tableView> <navigationItem key="navigationItem" title="Foray" id="UHk-DR-0EX"/> + <refreshControl key="refreshControl" opaque="NO" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" id="SfP-IV-1Ks"> + <autoresizingMask key="autoresizingMask"/> + </refreshControl> </tableViewController> <placeholder placeholderIdentifier="IBFirstResponder" id="pPD-Wc-Rc9" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> </objects> |