¡@

Home 

2014/10/15 ¤U¤È 10:12:53

iphone Programming Glossary: preview

iPhone: Camera Preview Overlay

http://stackoverflow.com/questions/1001347/iphone-camera-preview-overlay

Camera Preview Overlay how do I add an overlay UIImageView to the camera preview and handle touches on this My previous attempts to do this e.g. use UIImagePickerController and add the image as a subview..

Upload live streaming video from iPhone like Ustream or Qik

http://stackoverflow.com/questions/1960782/upload-live-streaming-video-from-iphone-like-ustream-or-qik

AVCaptureSession alloc init autorelease captureSession addInput inputDevice captureSession addOutput outputDevice make preview layer and add so that camera's view is displayed on screen AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer.. outputDevice make preview layer and add so that camera's view is displayed on screen AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer layerWithSession captureSession previewLayer.frame view.bounds view.layer addSublayer previewLayer.. displayed on screen AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer layerWithSession captureSession previewLayer.frame view.bounds view.layer addSublayer previewLayer go captureSession startRunning Then the output device's delegate..

Youtube video autoplay on iPhone's Safari or UIWebView

http://stackoverflow.com/questions/3010708/youtube-video-autoplay-on-iphones-safari-or-uiwebview

on Safari and or UIWebView I've seen this done in an iPhone app the tableview displays cells that do not have Youtube preview icon pretty sure it's a UIWebView Though when you tap the cell it directly goes to video. Could this be done by faking a..

Hide/Show iPhone Camera Iris/Shutter animation

http://stackoverflow.com/questions/3138502/hide-show-iphone-camera-iris-shutter-animation

willShowViewController UIViewController viewController animated BOOL animated Here is were I make the camera preview fit the entire screen. This might violate the don't change the view hierarchy rule. So I am not sure if it is valid for..

AVFoundation, how to turn off the shutter sound when captureStillImageAsynchronouslyFromConnection?

http://stackoverflow.com/questions/4401232/avfoundation-how-to-turn-off-the-shutter-sound-when-capturestillimageasynchrono

the shutter sound when captureStillImageAsynchronouslyFromConnection I am trying to capture an image during a live preview from the camera by AVFoundation captureStillImageAsynchronouslyFromConnection . So far the program works as expected. However.. image data writeToFile @ foo.png atomically YES If you're wanting this to fill the whole screen with a preview of the video stream so that your screenshot looks good AVCaptureSession captureSession yourcapturesession AVCaptureVideoPreviewLayer.. so that your screenshot looks good AVCaptureSession captureSession yourcapturesession AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer layerWithSession captureSession UIView aView theViewYouWantTheLayerIn previewLayer.frame..

Architectural and design question about uploading photos from iPhone app and S3

http://stackoverflow.com/questions/4481311/architectural-and-design-question-about-uploading-photos-from-iphone-app-and-s3

Uploading live streaming video from iPhone [duplicate]

http://stackoverflow.com/questions/5062266/uploading-live-streaming-video-from-iphone

AVCaptureSession alloc init autorelease captureSession addInput inputDevice captureSession addOutput outputDevice make preview layer and add so that camera's view is displayed on screen AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer.. outputDevice make preview layer and add so that camera's view is displayed on screen AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer layerWithSession captureSession previewLayer.frame view.bounds view.layer addSublayer previewLayer.. displayed on screen AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer layerWithSession captureSession previewLayer.frame view.bounds view.layer addSublayer previewLayer go captureSession startRunning Then the output device's delegate..

How to apply “filters” to AVCaptureVideoPreviewLayer

http://stackoverflow.com/questions/5156872/how-to-apply-filters-to-avcapturevideopreviewlayer

it on an AVCaptureVideoPreviewLayer in real time. My goal is to to conditionally apply simple image filters to the preview layer. The images aren't saved so I do not need to capture the output. For example I would like to toggle a setting that.. not need to capture the output. For example I would like to toggle a setting that converts the video coming in on the preview layer to Black White. I found a question here that seems to accomplish something similar by capturing the individual video.. only way to accomplish my goal As I mentioned I am not looking to capture any of the AVCaptureSession's video merely preview it. iphone avfoundation avcapturesession share improve this question Probably the most performant way of handling this..

Xcode 4 Tips and Tricks for Xcode 3 users [closed]

http://stackoverflow.com/questions/5260877/xcode-4-tips-and-tricks-for-xcode-3-users

probably seen Xcode 4 has been released officially today. Now I know that plenty of devs out there have been using the preview versions and it'd be great if people could post any great tips tricks or keyboard shortcuts they've learned using those..

UIImagePickerController camera preview is portrait in landscape app

http://stackoverflow.com/questions/538041/uiimagepickercontroller-camera-preview-is-portrait-in-landscape-app

camera preview is portrait in landscape app In my landscape only iPhone application I launch a UIImagePickerController to take a photo.. is in portrait orientation with blank space around it. The image is rotated. Once the camera button is pressed the preview is very messy with most of the preview off screen and views not correctly aligned. Apple has acknowledged that this is defect.. space around it. The image is rotated. Once the camera button is pressed the preview is very messy with most of the preview off screen and views not correctly aligned. Apple has acknowledged that this is defect and is working on it. My question..

iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto

http://stackoverflow.com/questions/6540710/ios-cvimagebuffer-distorted-from-avcapturesessiondataoutput-with-avcapturesessio

have been processed with visual effects. Additionally the user can tap a button to take a freeze frame of the current preview as a high resolution photo that is saved in their iPhone library. To do this the app follows this procedure 1 Create an.. CVPixelBufferUnlockBaseAddress cameraFrame 0 This all works and leads to the correct results. I can see a video preview of 640x480 processed through OpenGL. It looks like this However if I capture a still image from this session its resolution.. This correctly captures still images at the highest resolution for the iPhone4 2592x1936 . However the video preview as received by the delegate in steps 5 and 6 now looks like this I've confirmed that every other preset High medium low..

iPhone: Camera Preview Overlay

http://stackoverflow.com/questions/1001347/iphone-camera-preview-overlay

Camera Preview Overlay how do I add an overlay UIImageView to the camera preview and handle touches on this My previous attempts to do..

iPhone camera images are rotated when uploaded to web

http://stackoverflow.com/questions/1041884/iphone-camera-images-are-rotated-when-uploaded-to-web

photo appears in portrait on the phone but rotates 90 degrees on the web. If I download the photo and look at it in Preview mac or Photoshop mac or pc it is in portrait again. In Windows Picture Viewer pc it's rotated to landscape. Do I need to.. the image data before uploading Will I then also need to remove the meta data that's rotating it in Photoshop and in Preview iphone uiimagepickercontroller image uploading share improve this question The problem was that image rotation was..

Hide/Show iPhone Camera Iris/Shutter animation

http://stackoverflow.com/questions/3138502/hide-show-iphone-camera-iris-shutter-animation

if it is valid for App Store commitment. However the NSLogs are used to figure out which subview is the actual Camera Preview which turns out to be the PLPreviewView. uncomment to se the printouts . Change it's size to fit the entire screen and scale.. However the NSLogs are used to figure out which subview is the actual Camera Preview which turns out to be the PLPreviewView. uncomment to se the printouts . Change it's size to fit the entire screen and scale it accordingly to avoid distorted.. PLCameraView subviews n @ n n viewController view subviews objectAtIndex 0 subviews NSLog @ VC view PLCameraView PLPreviewView subviews n @ n n viewController view subviews objectAtIndex 0 subviews objectAtIndex 0 subviews NSLog @ VC view PLCameraView..

Camera image changes orientation

http://stackoverflow.com/questions/4565507/camera-image-changes-orientation

data that specifies which orientation the image should be in. Almost all native OSX applications such as iPhoto and Preview can read this EXIF orientation tag correctly and rotates the image automatically but almost all Windows applications and..

Applying Effect to iPhone Camera Preview “Video”

http://stackoverflow.com/questions/4893620/applying-effect-to-iphone-camera-preview-video

Effect to iPhone Camera Preview &ldquo Video&rdquo My goal is to write a custom camera view controller that Can take photos in all four interface orientations..

Base64 decoding issue with image data-iphone

http://stackoverflow.com/questions/8341458/base64-decoding-issue-with-image-data-iphone

file it gives error message like The file œtest.jpg could not be opened. It may be damaged or use a file format that Preview doesn ™t recognize. What is the problem with my code Can anyone help me..... Thank you iphone objective c xcode base64 decode..

Display encrypted file using QuickLook framework or UiDocumentInteractionController

http://stackoverflow.com/questions/8917368/display-encrypted-file-using-quicklook-framework-or-uidocumentinteractioncontrol

I have an encrypted word excel pdf file locally stored which I need to preview in my iPad app. I understand that QLPreviewController or UiDocumentInteractionController could be used to preview these files. I can very well use this id QLPreviewItem.. or UiDocumentInteractionController could be used to preview these files. I can very well use this id QLPreviewItem previewController QLPreviewController controller previewItemAtIndex NSInteger index return NSURL fileURLWithPath NSBundle.. could be used to preview these files. I can very well use this id QLPreviewItem previewController QLPreviewController controller previewItemAtIndex NSInteger index return NSURL fileURLWithPath NSBundle mainBundle pathForResource..

Three slightly different Apps from one code base

http://stackoverflow.com/questions/8956263/three-slightly-different-apps-from-one-code-base

depending which are based on the same code MyAppDevelopment Builds from Xcode that are deployed to the device MyAppPreview Beta testing MyApp Release It should be possible to have all of the three Apps installed on a device and they'd have their.. with just one target Create the desired configurations in Xcode ProjectName ProjectName Info . For example Debug Preview Release Now these three configurations are available for all the build settings. The three Apps should co exist on a device...