These method names were too similar to existing methods in PureLayout, which
have slightly different behavior.
ows_autoPinToSuperviewEdges uses left/right, whereas PureLayouts uses
leading/trailing
ows_autoPinToSuperviewMargins uses our own constraint adding logic, which
behaves differently in some cases.
from conversation settings > tile > tap for details > delete
TODO:
- Don't dismiss pager, show next item
- dismiss pager if deleting last media
// FREEBIE
First pass at a swipe-through media view for conversations.
Future work could include
- title label per item
- sender name
- date/time
- photo rail
- include caption
// FREEBIE
This no longer made sense now that we're using this in a
PageViewController we won't always be zooming from a particular frame.
TODO:
- why is background image all wonky?
- why aren't views created by the time it's presented? Is that a
regression? (how is self.view a MenuView if loadView hasn't been called)
// FREEBIE
On iOS11, when looking at the full-screen media details, if you'd zoomed
far enough that the media content is behind the status bar, tapping to
hide the status bar would cause an undesirable change in content offset.
// FREEBIE
- sync speakerphone state manipulated from system call screen
- Revert audio session after call failure, ensures media plays out of
speaker after placing a failing call.
- Replace notification with delegate pattern since we're already using
delegate pattern here.
- Fixes voiceover accessibility after voice memo
- Avoid audio blip after pressing hangup
- Rename CallAudioSession -> OWSAudioSession
Going to start using it for other non-call things since we want to
gather all our audio session concerns.
- Resume background audio when done playing video
- Extract OWSVideoPlayer which ensures audio is in proper state before
playback
- Move recording session logic to shared OWSAudioSession
- Deactivate audio session when complete
// FREEBIE
"zoom" presentation now accounts for zoomScale.
Fix background flicker as status bar hides
Round corners during presentation/dismiss. Smooths transition a bit.
// FREEBIE