IOS 13 can show 4 camera previews at the same time? - ios13

I know that IOS13 can display 2 camera previews simultaneously on iPhone 11 Pro and above. I saw the DoubleTake app where they are showing live preview from all the 4 cameras (three back cameras and one front camera). Any pointer on how this can be achieved?
The above screen shot shows the camera selection part in their app. All the 4 videos are simultaneously showing live. IOS13 supports 2 cameras active at a time on iPhone 11 Pro. How can I display all 4 cameras in my app as seen in this screen?

There is an open API for this. You can do it with AVCaptureMultiCamSession, which is a capture session that supports simultaneous capture from multiple inputs of the same media type.
It's a lot of code. For details, pls check out these WWDC 2019 sessions:
Introducing Multi-Camera Capture for iOS
Advances in Camera Capture & Photo Segmentation
And there an excellent sample code project associated with it.

Related

Implemented heads-up notification but the small icon, app name and time stamp are not showing on some devices. Any fixes?

Shows the heads-up notification but the 3 parts at the top of the brief text are missing when it pops-up on some devices.
It is a Hybrid Ionic 5 app

how to show 2 different active qt application on two different surfaces in a single screen for imx6 board

how to show 2 different active qt application on two different surfaces in a single screen for imx6 board?
[EDIT]
Suppose there is two application.Mediaplayer and phone app.when mediaplayer will be running ,if anyone tries to call ,a pop up will show on top of mediaplayer to accept or reject.So,there will be 2 separate surface in a single screen and on accepting the app will change to phone app screen and on reject it will be there in the player screen.
[EDIT]
Both application are individual i.e media player for songs and phone for calling.How it is possible to combine in single app because in my case if incoming call is there then only pop will appear on top of mediaplayer and on accept it will go to phone screen.If you can give any logic for solution then it will be better for me.
Any help will be appreciated.

Web Audio Mobile Safari Lock Screen Controls

I have a web audio player that uses Soundmanager2. Right now play/pause work on the lock screen and prev/next do not work. I worked on iOS 7 but I couldn't figure out why.
I see lots of talk about setting the track image and player controls in a native app, but not in an audio web app. That said I'd like to know why it quit working in iOS8 and what I can do to add a track image?
Update: Controls do not work in iOS 8, only on iOS7.
I found this on http://www.schillmania.com/projects/soundmanager2/doc/download/:
Side note: The prior release's pre-emptive fix for iOS 8 ended up being a non-issue, as the official iOS 8 release did not use "OS 10" in the user-agent string. Nonetheless, SoundManager2 will now correctly identify iOS 10+ vs. incorrectly flagging it as "iOS 1".
Since this question was asked Mar 21 '14 at 20:20, and the heading above it was
"version = "V2.97a.20150601"" (6/1/15), which means the update came after this question, and the edit, so
it should be able to work now.

XCODE 5 and submission to apple itunes

I have an app that is developed in xcode 4, I Have converted the project to xcode 5 which remained the xcode 4 design, did not adjust it to meet the xcode 5 20 px change and its working fine, yesterday I have received a mail from apple which content is -->
Make sure your apps work seamlessly with the innovative technologies in iOS 7. Starting February 1, new apps and app updates submitted to the App Store must be built with Xcode 5 and iOS 7 SDK. Learn more about building apps for iOS 7.
I entered the apple site and see this -->
User Interface - Elevate the content of your apps and make your user interface come alive on iOS 7. Adopt the new design to simplify and revitalize your app with clarity, translucency, and depth. UIKit allows you to incorporate realistic motion and transitions with new APIs that enable your user interface to respond to every touch and swipe by following the behaviors and physical constraints you define. Take advantage of powerful new text layout tools and dynamic type that respect the design principles of iOS 7.
should I have to change the design to be like other ios 7 design with the same bar color? should I start changing the UI and make new designs 480*320 and not 460*320 with black bar?
please help me I cant submit the app before 1/2
thanks
I can't see why they would have rejected (If they did) because we aren't near the 1st of February yet.
Apple announced on the 17th December 2013 the below (This can be found https://developer.apple.com/news/?id=12172013a)
tarting February 1, new apps and app updates submitted to the App Store must be built with the latest version of Xcode 5 and must be optimized for iOS 7
It's not like weren't expecting this, but your apps should be fine up to the 1st February for any submissions as long as they don't break any of Apples review guidelines and don't go against the Human Interface guidelines. But after the 1st of February any submissions that you do will require your apps to be iOS 7 optimized and work to the new Human Interface guidelines
Hope this helps.
You can still use a 460x320 view if you make sure it is properly positioned inside both iOS 6 and iOS 7 sized window or view controller bounds (or support iOS 7 only). For iOS 7, you can put another view or subview behind the status bar if you wish to customize its color.

How to scan barcode(generated using ZBar SDK) using iPhone simulator? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
zbar sdk not working on iphone simulator by using camera simulator
I want to test my barcode scanner using iPhone Camera.
I'm using ZBar SDK for my barcode scanning.
I have a scan button for this.When I click on Scan button,its showing me the message,"Camera simulation, tap and hold with two finger to select image".When I'm doing this,its showing "No photo" in another view.
Could any one plaese tell me how can I select an barcode image and scan it using simulater?
Thanks.
Do you have any images in the simulator to test? If not, images can be added to the simulators photo library two ways.
Drag and drop an image from Finder into the simulator. It will open in Safari and you can press and hold the image and an action sheet will pop up asking you to save.
Go to Safari directly on the simulator, navigate to the image you want, and save it the same way as in step 1.

Resources