I have created a Sound Board application that works great in a single view controller, but I want to add multiple soundboards/ pages to this app and can not figure out how to make the audio on any other view controller? When I add the audio files to my second view controller the sound does not play? Is there a simple way to pass these audio files between the view controllers so that sound will work on my second page?
I guess the simplified version of my question is: How to add sound to other view controllers so they can be played when the button is clicked?
Thanks Stackoverflow community you have taught me more than you know! This may be a simple question, but I can seem to find the answer anywhere.
Related
I'm looking for control (or somekind template) which is used for displaying subtitles selection in AVPlayer, exactly like on picture below
I'd like to use the same control for quality selection. I've already all data and I've added custom controller to avplayercontroller for that purpose and it'll be nice, to use the same look&experience for that topic also.
Does anyone know, if there is something ready for use? Or should I recreate this using UICollectionView or UISegmentedControl?
P.S. I'm using storyboards for a development.
It isn’t possible, you only can add more info to Info view. In my experience, I had to implement a custom view.
ref.: https://forums.developer.apple.com/thread/19493#61400
I am trying to make an application that will "trigger" when a certain image is shown on screen. I have the app streaming the camera to the screen inside the app using AVCaptureSession. Now i was wondering how to make some sort of EventHandler for each frame of the video, in which i will check to see if the image contains one of my triggers. Does anyone know the best way to handle this? I could not find any resources on an OnFrame EventHandler for AVCaptureSession.
This is the tutorial i followed for showing the camera on screen
https://github.com/messier16/FullCameraPage/blob/master/FullCameraApp.iOS/CameraPageRenderer.cs
Any advice is awesome. Thank you!
I ended up doing a while loop inside of overriden ViewWillAppear() to grab the frame consistently
I am working with the material capture view and I was wondering if there was a way to implement this using a storyboard.
This is tricky, as the CaptureView is a collection of views that would need to be handled in Storyboards. We are making big updates to Audio, Video, and Photo this month that should make using Storyboards more simple.
Getting started with xCode 4.6.3 and I'm running into a hiccup.
I've built a simple app using the UIWebView to display a local HTML file and it's contents. I used that to debug any issues with the HTML and/or image displays and I'm all set.
Now I need to recreate that within a larger project I've built with storyboards for all my navigations between multiple view controllers. My issue comes when I'm trying to control-click drag from the WebView into the ViewController.h code below the #interface like many tutorials show, and that worked fine within my smaller single view controller app. It won't do it. I know I'm missing something obvious here. Am I going to have the set up these screens (I have multiple ones to do this same way) as separate xib files and add them into my main project?
Thanks for any help and clarification.
-Chris
You can create a class called for example myWebViewController and in Interface builder add a UIWebView to it. The control+drag to the header file will work.
Every time you want a UIViewController that has a browser in it, define its class as myWebViewController in Interface Builder.
Try not to repeat code. If you see UIViewControllers or any other UIView...that do the same thing, you can group them into a class that you use over and over.
if you use the Google Plus App on Android and switch to the Stream, you get a view where you can swipe to the left and right between the All circles/Incoming/Nearby-Stream. What view component is used for this? Is this a standard Android component? Or where can I find democode how i can build such a view component?
You should take a look at the ViewPager from Android Compatibility Package for the desired widget/swipe navigation. Find more about it here
http://developer.android.com/sdk/compatibility-library.html
Also, checkout this recently posted tutorial and some sample code on ViewPager by Richard:
http://geekyouup.blogspot.com/2011/07/viewpager-example-from-paug.html
It is a combination of a ViewPager together with an indicator for where you are currently and where you can go swiping left and right.
A sample of how this can be done along with code you can use in your own apps may for example be found here. I've played with this code a little and it works pretty well.
None of the default widgets/views. I guess, it's some kind of a custom view with swipe functionality.
Honeycomb opens up a few new widgets which seem to have these functionality. Have a look here.
http://developer.android.com/sdk/android-3.0.html (New Widgets)
I used APKTool to take a look at what's going on. Hopefully it is okay to post this here. This is from version 1.0.2 of the G+ APK.
removed google+ app code as per CommonsWare's suggestion
So, it looks like they're using standard views, though perhaps with a good deal of gesture detection and smooth animation magic.
EDIT) If you really want to know about the exact inner-workings of what is going on in the Stream activity, I suggest you use APKTool yourself and examine the .smali code