Search results for

Popping Sound

19,350 results found

Post

Replies

Boosts

Views

Activity

Reply to Is there a limit to the number of View Controllers for an app?
Hello again donarb.Admittedly I started my project out as a book style app (I think I mentioned this before so I won't go into this much) but I found that I couldn't stop the sound of an animation if the user turns the page before the animation finished. Nor could I have the app's plot split 3 different ways (the hero of the story at one point is confronted with 3 choices and he must make a choice and so the story has 3 different endings).So seeing the page based template wouldn't meet these 2 challenges, I abandoned the page based template altogether and switched to the present model. It turns out that I don't have to worry about the number of view controllers (my app is actually a little easier on the memory using my new way of carrying out this project than when I carried out the page based approach) so I am sticking to what I have now. It works with out any problems and I am doing so much with it (animation and sound, taking a video feed of the user through the iPad cam and putting their
Jul ’15
Reply to Is there a limit to the number of View Controllers for an app?
There is some merit to the if it ain't broke, don't fix it philosophy. If you're pretty far on in your project then it might not be worth changing at this point. But as I think I said in the other thread, it would be better to have a small number of VCs that know how to do a flexible layout. Maybe pass the VC an object, or some JSON or XML or something, that describes the layout of panels and the content of each panel. It's definitely easier to support and extend in future. Suppose you get all 100 pages done and now a new SDK comes out and you have to make a change to every one of those 100 VCs for compatibility. Not fun.Anyway, as to a limit on number of VCs, I think the only limit that would apply is the maximum size of the executable portion of the binary (50 or 60 MB per slice nowadays I think?). That doesn't include your assets (sound and graphics).(p.s. I don't know much about sound but stopping it when the page turns should be possible with any configuration of view controllers.)
Jul ’15
Reply to Programmatically pushing from one view controller to the next.
There is popToRootViewControllerAnimated:. You can also programmatically set the contents of the view controller stack - just use setViewControllers:animated:.Have you tested this setup on your least capable supported devices? How much memory are you using after pushing 100 (or 30 something, since you say you have different plot lines) VCs on the stack? Always pushing and never popping until you get to the end is NOT an efficient design. Which brings us back to the discussion in your other threads. 🙂
Jul ’15
Reply to Programmatically pushing from one view controller to the next.
Hello junkpile.I watch the memory usage as the app goes through all the pages (through the main plotline and then going back and forth on all 3 branches of the plot) and the memory usage does not increase. It is the more complicated animation near the beginning of the plot (page 4) that ups the memory usage. (an animation where the hero looks out at the viewer in horror and then the whole scene pivots around so you are looking at the hero from the back - over his shoulder - all this accompanied by a deep grinding sound a then the camera takes a live video feed so the user see themselves real time in the comic book with the hero of the comic staring up at them) this ups the memory usage to 570 MB. (When I finally have my app up on the app store, it will be for iPad Air 2s only.)After this animation takes place there are other pages, some with even more things are happening than the one I described above, but the memory usage doesn't go up much at all, and sometimes goes down. It's as if the app sort o
Jul ’15
Handling Multichannel Audio
I am currently in the middle of reproducing the Handling Multichannel Audio example of Session 507 at WWDC15. I created a 6 channel wav file and tried to play it with my 6 channel audio output hardware (HDMI connected to a 5.1 AV receiver). Quicktime Player can play the 6 channel wav file without any problems. So, I created the following test case:- (void) play { self.audioEngine = [[AVAudioEngine alloc] init]; AVAudioOutputNode* outputNode = self.audioEngine.outputNode; AVAudioFormat* outputHWFormat = [outputNode outputFormatForBus:0]; AVAudioChannelLayout* hwChannelLayout = outputHWFormat.channelLayout; AudioChannelLayout* hwLayout = hwChannelLayout.layout; AudioChannelLayoutTag hwLayoutTag = hwChannelLayout.layoutTag; AudioStreamBasicDescription* hwStreamDescription = outputHWFormat.streamDescription; AVAudioChannelCount hwChannelCount = hwChannelLayout.channelCount; AVAudioMixerNode* mainMixer = self.audioEngine.mainMixerNode; mainMixer.outputVolume = 1; [self.audioEngine connect:mainMix
5
0
2.2k
Jul ’15
Reply to Entities and Components
Not sure this is related to what I am saying.The component model is a sound alternative to a deep inheritance hierarchy.But the specific implementation in GameplayKit prevents the sort of usage that some would regard as optimal.
Topic: Graphics & Games SubTopic: General Tags:
Jul ’15
IOS 9 beta 2 iphone mic not working at speaker mode
Hi AllIphone 5 mic stopped working after upgraded to IOS 9 beta 2 last weekend.During normal call all is working fine - as soon as switching to speaker mode the mic is not capturing any voices so the other side can't hear mebut i can hear them clealrly .Siri and Voice recorder are able to capture my voice so problem is not h/w related .Audio face time calls also works fine in speaker mode so only normal calls are effected by this issue.Checked all setting and still same problem.Any ideas ? similar experience ? I am sure restoring back to IOS 8.4 will make it work again but trying to keeo the beta running :-)Thanks ddeebru
3
0
3.3k
Jul ’15
Reply to Why doesn't my view auto resize after rotation?
No doubt there is an answer. You probably don't need to rewrite it in Swift. It sounds like something wrong with your layout in IB. From your first reply it sounds like you're not using auto layout but the old school autoresizing mask instead. Now might be a good time to brush up on auto layout and convert your storyboard / XIB. There are a couple of good talks from WWDC this year mysteries of auto layout which should help.Since the forum is crippled by not allowing us to post images, it's hard to tell what might be wrong in your IB setup. Would be easier if you could post a screen shot. And of course if you're doing anything at all in code when it comes to setting up that view, it would be helpful to post that.
Jul ’15
Help with crash report
I'd appreciate it if someone can help me analyze this crash report and give me some clues. A lot of my users are running into this problem (the app just crashes randomly) and I'm not sure how to reproduce it. Crash report is below. Aside from the main thread that this is reporting, the Thread 9 is also consistent across all crash reports of this kind. I have a view controller that works with cocoa bindings. It uses a private NSManagedObjectContext to load the data and bind the UI with. Something goes wrong when this view (and context) is deallocated, but I'm not sure what and how to address it. Any thoughts would be helpful. If there are any tricks I can use to reproduce the issue, that would be great as well.Version: 1.0.5 (1.05.3) Code Type: X86-64 (Native) OS Version: Mac OS X 10.10.4 (14E46) Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGSEGV) Exception Codes: 0x0000000000000000, 0x0000000000000000 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.apple.
Topic: UI Frameworks SubTopic: AppKit Tags:
1
0
3.7k
Jul ’15