Post

Replies

Boosts

Views

Activity

Monthly recurring leaderboard and placement achievement?
I would like a monthly recurring leaderboard, but the most days one can set for the recurring leaderboard is 30, and some months have 31 days (or 28/29). This is dumb. I guess I have to manually reset a classic leaderboard each month to get this result? Additionally once it closes and is about to reset (I also have daily recurring leaderboards), I'd like to grant the top placers on the leaderboard a corresponding achievement, but I don't see any way of doing this. I believe I can do all these things on PlayFab, but it'll take a bit more work, and eventually cost. Any one have advise?
0
0
67
6d
How to get iPhone X home bar to double swipe in landscape?
Landscape apps made with Xcode 8.3 are letterboxed on the iPhone X, and the home bar is partially disabled, meaning that the user must swipe up to "wake it" then swipe up again to exit the app. It's this second functionality that I want to implement while taking full advantage of the screen size, so how do I replicate that feature?If I set the view controller's prefersHomeIndicatorAutoHidden() to return true, the home bar temporarily disappears, but every time I touch the screen it comes back (a bit jarring), and it still only takes a single swipe to exit the app. I have not been able to find any other options to do what I want, but clearly it should be possible since it automatically happens for older apps.Suggestions?
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
5.5k
Dec ’17