Questions tagged [control-center]

The Control Center is a feature on iOS which allows quick access to various functions and settings of iOS. On iOS 11 you can open it by swiping from bottom to top on any screen.

Links:

74 questions
2
votes
1 answer

How do we detect when control center on iOS 7?

I am having an issue when the control center appears on iOS 7. Basically, the applicationDidEnterBackground is fired when the control center appears. However in my method, I would like to detect if it's just the control center opening or the…
Frank
  • 3,073
  • 5
  • 40
  • 67
2
votes
0 answers

Can't use Control Center when UIAlertView displayed (iOS 7)

So i set up a retry connection when reachability detects no connection. I want the user to be able to use the Control Center to re-enable WiFi while the UIAlertView is presented. Anyway I can do this? Picture Of What Control Center Looks…
Jason G
  • 309
  • 3
  • 14
1
vote
0 answers

In Swift 5 how would you add Audio Controls to Control Center via background audio?

I'm playing audio from a JSON source that I built to feed the audio URL and it's audio information to my app (Such as title, description, and cover art URL). The audio is a radio station feed. Audio works, play/stop controls work, cover art works,…
1
vote
1 answer

Xamarin forms receive control centre event while playing songs in background

I am using plugin in xamarin to play songs on iOS and Android device which is working out perfectly.My problem is that I am unable to find way to listen to next and previous button press in control centre. I have read blog for reference,but it…
Sanman
  • 1,158
  • 11
  • 23
1
vote
1 answer

Control Center Play/Pause Button not working in iOS 11

My app plays audios in the background I am updating the MPNowPlayingInfoCenter to show the Audio's Info in Control Center. All was working fine on iOS 10, but now when I updated my iPhone to iOS 11 beta2 and play the audio in my app then control…
Abuzar Amin
  • 1,981
  • 1
  • 19
  • 33
1
vote
0 answers

How to call a control center play button to play audio in background using code

I am playing Videos in UIWebView and using the below code to play its audio in background. do { try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayback) print("AVAudioSession Category Playback OK") do…
user3314286
  • 243
  • 3
  • 18
1
vote
1 answer

remove info and control in Control Center from UIWebView

if we place the url which contains video in a UIWebView, and play with it. the control center will have the info and controls of the video. is there a way to remove this info and control ? I found this question asking is that UIWebView player a…
Mia
  • 1,226
  • 1
  • 19
  • 29
1
vote
1 answer

iOS Media Player remote control events (MPRemoteCommand) are not working with Unity

Recently I've found out that MediaPlayer remote control event (MPRemoteCommand) handlers are not getting called in iOS application with embedded Unity player. I'm using Xcode 6.3.1 and Unity 5.0.1f1, however, it looks like it can be reproduced with…
1
vote
2 answers

check if control center is used

My app is using internet access, and I want to know if there were used control center. If was used, I want to do some action, like start to update. I am stuck at this question. There are different guides, about "check if app is in background" or…
Pavel Zagorskyy
  • 443
  • 1
  • 4
  • 20
1
vote
0 answers

UIAlertView Strange Behaviour with Shortcut Control center

i am facing the problem with the UIAlertview behaviour,i Know when alertview is raised except the external controls all the controls will get inactive. My app on of the functionality will work only on airplain mode,My client wanted to use the…
Mahesh Babu
  • 3,395
  • 9
  • 48
  • 97
1
vote
1 answer

iOS Control Center touches pass through to my Scroll View?

I have a UIScrollView that scrolls horizontally along the bottom edge of my application. I’ve noticed a bug where if the user swipes up to open Control Center, Control Center attaches to their finger, but my scrollViewDidBeginDragging method is…
Luke
  • 9,512
  • 15
  • 82
  • 146
1
vote
3 answers

Override Control Center screen edge pan from bottom?

I’d like to use a UIScreenEdgePanGestureRecognizer on the bottom edge of my display. The recognizer works perfectly if I set its edges to UIRectEdgeLeft or UIRectEdgeRight, but UIRectEdgeTop or UIRectEdgeBottom do not work – they’ve overridden by…
Luke
  • 9,512
  • 15
  • 82
  • 146
1
vote
1 answer

Reacting to ControlCenter events when using AVPlayer for HLS audio playback

I am looking for a way to handle the play/pause events from the iOS ControlCenter when playing audio (HLS) using AVPlayer. I have it all working, but it is based on "named" notifications which are not exposed in the header files. Is there an…
LK__
  • 6,515
  • 5
  • 34
  • 53
1
vote
1 answer

How do I make iOS 7 Control Center behave like it does in Maps (small tab)?

In Maps in iOS 7, if you swipe up from the bottom of the screen as if opening control center while the map view is full screen, you get a small tab instead of the full Control Center, and the map scrolls normally. You then have to grab that tab and…
Tom Hamming
  • 10,577
  • 11
  • 71
  • 145
0
votes
1 answer

How can I acces my Programms on my OfficeLine which is running on Access with C# code?

So bassicly im using an OfficeLine which is running on Access and my programms are list like that: List of Officline programms and now I want one of them open from C#. I tried to use Interop.Access for that because my C# programm is an Class Library…