Camera with Overlay in UIViewController - objective-c

currently trying to make a ViewController, which include a Camera with a Overlay. I want to implement a scan function. the camera should show a field where it is scanned and save it then as a picture.
one of you has an idea? Thanks in advance!

I used this tutorial: http://www.ios-developer.net/iphone-ipad-programmer/development/camera/record-video-with-avcapturesession-2 to create a viewcontroller similar to that. The code a little old but if you make some changes you can easily create a ViewController like that.

Try this Github repo, It provides a default view controller with camera view and scan area overlay and it also provides a button to switch between the front and the back cameras.
https://github.com/yannickl/QRCodeReaderViewController

Related

swift adding zoom to container view

I have a page view controller embedded inside a container view in order to swipe between images. But now I am trying to add a touch that will make the image go full screen "lightbox" with zoom available and also swipe through the images while in full screen mode.
I can get it to work, and messing around with auto layout seems to be much work consider I have a lot of other stuff in that VC.
So does anyone know a good image slider from github written in swift? - without the need of cocopods.
thanks!
It's easy enough to write one yourself. In full-screen mode, use another UIPageViewController, because it already has the swipe left & right support built in.

Multiple ImageView's that allow for deletion

I am currently trying to add multiple imageviews like in this picture (http://i.imgur.com/DEkoBD0.png) to a view controller. I would also like the option to be able to delete specific images, and also have the whole view controller in a scrollview incase the user wants to add numerous images.
So far I have one imageview that can be set to either a picture from the camera or from the photo library, what I would like is when a user add's a image, another option displays next to it to upload another image such as the picture in the link I provided.
I am currently using the Xcode 5 with storyboards and developing for iOS 7 also.
Any help is appreciated.
Thanks.
Simply use a UICollectionView !
Reference : https://developer.apple.com/library/ios/documentation/UIKit/Reference/UICollectionView_class/Reference/Reference.html
It will allow you to add functionalities like delete or add for example (w/ ScrollView ;) )!

Custom size iPad Split view

Im fairly new to objective C. I am currently trying to implement a split view on the iPad. I would like to have a left side view that can be resized so that it looks more like the side view on the spotify app for the ipad.
I understand UI Split controllers won't work because their width's are fixed.
I understand the other option is to use a View controller with sub views that can resized as required. However, I am not too sure how I should implement each subview with its own navigation controller. Any suggestions how else I can implement the said feature.
The image of the side panel implementation can be found in this link.
You can use Matt Gemmell's MGSplitViewController to accomplish this. It provides a custom split view controller implementation that might let you do what you want.
I would like to recommend, PSStackedView which i have used to create a similar layout as the Spotify iPad app. Took some time to understand it

Using UIImagePickerController on the iPad

I'm developing an iPad app for use in-house. It's basically a SplitView based app, with a list of items. The details view contains a navigation controller. When the user selects an item in the rootview, it displays the definition of that item in the details view.
I want them to be able to drill-down into a gallery of images for that item, and be presented with a UI similar to the iPad photos app. Basically thumbnails with the ability to view it at original size and then go back to the thumbnails.
I was looking at using the UIImagePickerController but it looks like you need to use that in a Popover control, is that the case? It also looks like you can also only use it with pictures stored in the photo area on the iPad.
The images I use are downloaded to the iPad at startup, if it makes the whole thing do-able, can I save them into the users photo's area? As an album for each item?
Failing all of that, is there a nice clean, simple solution that would meet my requirements? I've tried using the Three20 solution but couldn't get it to work with my SplitView. Can the OOTB UIImagePickerController do what I need?
Three20 right now is not iPad ready, for your requirement, you can fine-tune Three20 and use it to display the original size images, and then pop-back to view controller which shows the thumbnail images.
I suggest using Three20 in a modal view controller with a pagesheet or formsheet preeentation style.

Objective-C - What's techniques/objects are being used

On my iPhone, when I go into the Settings app, I see "Airplane Mode", "Wi-Fi", "Notifications", etc. and I'm able to scroll through pages and pages of settings.
I'm new to objective-c and I'm trying to duplicate the functionality in my own app, but I don't know enough about the objects and techniques to know what to ask or what to look for. :)
With that in mind, can someone please explain what's going on with the settings app? What is this using? Is it a UITableView that allows me to scroll down the page? What control is being used to store the text "Airplane" mode? What is happening when I click on the ">" and see a new page?
Any tips are appreciated.
While nobody outside Apple can be 100% sure how they implement their apps, some reasonable guesses would be:
The main screen is a grouped UITableView. Each entry is a single cell.
The text and images in the cells are built using properties of UITableViewCell (e.g. the textLabel UILabel for the text "General"). Some of the more advanced items use custom cell views.
Each category view is another UIViewController, pushed onto the viewControllers stack of a UINavigationController.
The on/off switches are UISliders.
It is a TableView
Table View programming Guide
samplecode
These docs cover all you need