Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

oo7ml

macrumors 6502
Original poster
Jan 20, 2010
259
0
Hi,

I am building a small app, and one part of it allows users to take a 12 second video.

When the user records a video, and the 12 seconds ends, they see the error messages below.

Is it possible to remove the lower error message (Video Too Long Too Send), as it posts just fine... and it will confuse users?

 
What part of your app is generating that lower message?

Are you using some third party library to upload the video?

We need more details.
 
Try using sniping tool. It might help you to take last bit of from your video

Hi,

I am building a small app, and one part of it allows users to take a 12 second video.

When the user records a video, and the 12 seconds ends, they see the error messages below.

Is it possible to remove the lower error message (Video Too Long Too Send), as it posts just fine... and it will confuse users?

[url=http://s12.postimg.org/4oj55m1pl/IMG_7509.jpg]Image[/url]
 
Hi, thanks for your reply.

Could you elaborate on the snipping tool... how would you see that working?
 
Hi, thanks i am aware of the snipping, but i am still sure that even after i introduce that, i will still get the lower second error message.
 
From the sounds of it, Apple screwed up.

One thing that might work is something I saw when looking at keyboard solutions.

You find what is called (alert ?) and intercept that call.

Example was the numeric keyboard. It has no return or done key. If you ask for digits only, how do you end the textfield editing? The solution was to watch for when the keyboard came up and add "done/Esc" keys on a popup toolbar.

Maybe an override of the alert just for that process.

A whole lot of ObjC is resolved at runtime.
 
Yeah it seems to be an Apple bug.

My max video is set to 12 seconds.
 
Yeah it seems to be an Apple bug.

My max video is set to 12 seconds.

Have you tried setting the max video duration to something higher than 12? It could be that since both limits (yours and the one for UIImagePickerController) are being hit at the same time, they see both alerts, but I haven't used this part of UIImagePickerController before.

Also, could it be automatically overridden given this note in the documentation:

When a user taps the Share button to send a movie to MMS, MobileMe, YouTube, or another destination, an appropriate duration limit and an appropriate video quality are enforced.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.