uipickerviewcontroller

UIImagePickerController: Custom camera overlay sitting on top of default controls?

我的梦境 提交于 2019-12-07 18:06:47
问题 I'm creating a custom camera UI using UIImagePickerController cameraOverlayView property. However, I'd like to keep some of the existing UI -- specifically the flash and camera selection buttons at the top. My thought was that I'd keep showsCameraControls = YES set the cameraOverlayView to my custom UI and then use [picker.view bringSubviewToFront:overlayView] to make sure my controls on the bottom are sitting on top of the default controls. Alas, this does not work. I've tried moving the

Starting a augmented reality (AR) app like Panasonic VIERA AR Setup Simulator

ε祈祈猫儿з 提交于 2019-12-05 04:43:31
问题 Im looking to create an iOS app similar to Panasonic VIERA AR Setup Simulator but with other products. I was trying to figure conceptually how to do this, and where would be a good place to start. any ideas or suggestions would be greatly appreciated. Panasonic VIERA AR Setup Simulator http://itunes.apple.com/us/app/panasonic-viera-ar-setup-simulator/id405903358?mt=8 回答1: AR apps like the one you pointed to tend to require you to print things out. They tend to use the Qualcomm AR SDK, which

Starting a augmented reality (AR) app like Panasonic VIERA AR Setup Simulator

拥有回忆 提交于 2019-12-03 21:49:41
Im looking to create an iOS app similar to Panasonic VIERA AR Setup Simulator but with other products. I was trying to figure conceptually how to do this, and where would be a good place to start. any ideas or suggestions would be greatly appreciated. Panasonic VIERA AR Setup Simulator http://itunes.apple.com/us/app/panasonic-viera-ar-setup-simulator/id405903358?mt=8 AR apps like the one you pointed to tend to require you to print things out. They tend to use the Qualcomm AR SDK, which is probably the most advanced AR engine around. The only problem is that Qualcomm AR SDK is still in beta

UIPickerView with custom views broken in iOS7

大兔子大兔子 提交于 2019-12-03 12:42:00
I have an app with a UIPickerView. I am returning a custom view with the method - (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view It looked fine in iOS 6. In iOS 7, not so much -- screen shot below. Notice that in the cells that don't have focus, the second and third columns overlap. The central row is correct. Any suggestions? imihaly It seems that for a strange reason, if the width of any column is higher than 1/3 of the picker view's width the layout breaks. So if you have a 320 pixel wide picker view 106

Swift 4 Odd unexpected jump back to earlier storyboard

◇◆丶佛笑我妖孽 提交于 2019-12-02 10:33:17
I’m very new to Swift and Xcode and I’ve built a simple two storyboard app which has a welcome screen and a button that triggers a seque to second storyboard (for which I have created its own class based on UIVIewController. Second storyboard has a couple of UIPickerView objects a and a couple of UIDatePickerView objects and a button. I have some basic actions under the didSelectRow function. However when I build and run the app I get an odd and seemingly random bevahiour where selecting something in the first picker view takes me back to the welcome screen (an unwind seque?). I haven’t put in

UIImagePickerController does not release memory it occupies

大城市里の小女人 提交于 2019-11-30 04:15:21
问题 I saw this thing on using instruments for my app. When I profile my app, the initial memory occupied is 563 KB which is before UIImagePickerController pops up. There is one button on the first viewController which makes the UIImagePickerController appear. As soon as UIImagePickerController appears, memory occupied goes upto 1.6 - 1.7 MB . If I select any image or cancel the UIImagePickerController , the memory occupied is still 1.6 - 1.7 MB which I believe should be 563 KB (or may be few KB's

How do I make a UIPickerView in a UIActionSheet

醉酒当歌 提交于 2019-11-28 19:58:34
Just want to know how I would make a UIPickerView in a UIActionSheet with a simple array. Ok well I actually found out how to put it into an action sheet but I like your way better because it applies more to my app, thanks, but I want to also know how put the options into the UIPickerView, I am just hung up on that part of that. I already have an array with the colors: red, green, blue, yellow, black, etc in it but I want to know how to put that into the pickerview if I have already used initwithframe:? Please anyone help I know it is a stupid question but I'm racking my head on my $$$$$$

Type “myViewController” does not conform to protocol UIPIckerDataSource in Swift

亡梦爱人 提交于 2019-11-28 19:07:39
I just create a new class in Swift, it's called myViewController and it's a UIViewController . Now I'm trying to make it a UIPickerViewDelegate and DataSource but i got a strange error import UIKit class myViewController: UIViewController, UIPickerViewDelegate, UIPickerViewDataSource { ... } It says Type "myViewController" does not conform to protocol UIPIckerDataSource over the UIPickerViewDataSource. Is it a bug of Xcode-Beta 3?? salman140 You need to implement all the required methods of UIPickerViewDataSource and UIPickerViewDelegate , if you want to conform to these protocols. Swift is

Type “myViewController” does not conform to protocol UIPIckerDataSource in Swift

£可爱£侵袭症+ 提交于 2019-11-27 20:27:20
问题 I just create a new class in Swift, it's called myViewController and it's a UIViewController . Now I'm trying to make it a UIPickerViewDelegate and DataSource but i got a strange error import UIKit class myViewController: UIViewController, UIPickerViewDelegate, UIPickerViewDataSource { ... } It says Type "myViewController" does not conform to protocol UIPIckerDataSource over the UIPickerViewDataSource. Is it a bug of Xcode-Beta 3?? 回答1: You need to implement all the required methods of

How do I make a UIPickerView in a UIActionSheet

杀马特。学长 韩版系。学妹 提交于 2019-11-27 12:35:58
问题 Just want to know how I would make a UIPickerView in a UIActionSheet with a simple array. Ok well I actually found out how to put it into an action sheet but I like your way better because it applies more to my app, thanks, but I want to also know how put the options into the UIPickerView, I am just hung up on that part of that. I already have an array with the colors: red, green, blue, yellow, black, etc in it but I want to know how to put that into the pickerview if I have already used