Custom call-in progress status bar over home page - ios

I am try to implement call in progress bar like wats-app call in IOS (as shown in image). The progress bar need to hover the home screen while application goes in background.
Please advice
Thanks
Amith

This bar will show up automatically when your app is working in background mode.
The color will between red and blue depending on the background task you are performing.
Note: Some background modes doesn't show this bar (like audio playback for example).

Goto to project -> target -> capabilities
Select "Background Modes" check Voice over ip if you want to implement call like whatsapp and need a progress bar

Related

how to force to show iOS Green CallKit Bar

Firstly, I must explain this, I know this green bar appears if your app has support for CallKit and user went to background state from app, And these all works perfectly from my VOIP app.
But I want to implement something like Whatsapp iOS App which user can go to back instant message screen from a voice call and even client is in the active state, a green bar appears.
I do not know how WhatsApp has implemented this feature. But I guess it can be custom view (green bar when the app is in an active state but not in call screen).
Do you guys have any idea how can I implement this feature? Or Do the CallKit has any methods or something else to force to show green bar if the call screen is not appearing but also app is not in background state??
Can't you just put your colored bar at the top? I am not sure if your app is using navigation controllers, but if not you should be able to align a UIView between superview.top and safearea.top, and set it's backgroundColor to anything you want.

In-Call voip status bar in background

We are currently developing an app that uses peer-to-peer audio/voice transfer through APIs. When the app is in the background, a message appears in the in-call status bar reading “XXX (Recording)”. If we remove the in-call status bar altogether the voice goes to mute when the app is in the background. Apparently this message comes from Apple because it doesn’t appear in Android Samsung devices. We would like to change the content and perhaps the color of the in-call status bar in order to remove the word “Recording”. Please refer to attached screen shot. So any advice on the in-call status bar modification? Skype for example has its costume VoIP status bar
Thank you.
You cannot hide or customize the recording bar.
iOS chooses the colors and text of the bar depending on what you are doing:
Recordings are red, which is what you are doing.
Calls are green, which is what Skype is doing.
AirPlay and Personal hotspot are blue.
If you want the same color as Skype try changing your UIBackgroundModes to "voip" (or maybe look if you need to be using CallKit?)
Modifying recording bar (Color-text or anything) is NOT POSSIBLE in ios.
Hiding this when you are using Microphone is also NOT POSSIBLE. This bar appear as long as you use mic. Recoding or not, if mic is in use, It will display this bar. Its security measure for users to know that an app is listening to microphone.

Displaying download Progress in iOS status bar

I would like to display the download progress in the iOS status bar the same way android does. I know we can show the activity indicator but I was thinking
You cannot display download progress in the iOS status bar. The iOS Human Interface Guidelines for Progress Indicators shows some alternatives: https://developer.apple.com/ios/human-interface-guidelines/controls/progress-indicators/
A brief summary of the options:
Display a spinner using a UIActivityIndicatorView.
Display a progress bar with UIProgressView.
Show the network activity indicator in the status bar.
You can also roll your own implementations of the spinner or progress bar, or use one of many third-party frameworks.
Hope that helps!

Is there a way to show the red status bar without recording?

What I want is that when my app just enter background, showing a notification view with custom text and keeping stay for few seconds. It can be look like banner notification or the red status bar with recording/calling. Is that possible? Any idea? Thanks.
here is the UI effect what I want

Will apple store accept my custom status bar which will show for a moment in iphone?

I developing a card swipe reader like application when I connect the device via audiojack in my iphone I want to show a message "device connected" in status bar which will be a custom status bar looks similar to original status bar and hide the original status bar. After few seconds it will show back the original status bar. Will apple store allow this or there any issue in it?
Reeder for iPhone does that when syncing feeds. See the first screenshot in this article.
So I guess it's ok with Apple.
If you use your status bar and hides default status bar apple will not reject. Because you are hiding default status bar(which is accepatable in HIG) and then displaying your custom status bar.
Hope it helps you.
I recommend when doing so, don't make your custom status bar as exact copy of iOS default status bar. Make some changes in it, like change battery charging icon, change Network Availability indicator etc.

Resources