tag:blogger.com,1999:blog-865923359735383241.post1121322826148060531..comments2023-10-29T07:27:09.012-06:00Comments on Ccna final exam - java, php, javascript, ios, cshap all in one: Custom iPhone camera controls (not using UIImagePickerController)Unknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-865923359735383241.post-28626508760231773302012-04-08T19:38:23.766-06:002012-04-08T19:38:23.766-06:00The simple explanation is that apps in the store a...The simple explanation is that apps in the store are not supposed to use unsupported APIs, but this is not checked consistently. The apps you mentioned are either using unsupported functions/classes/methods or else are playing with the view hierarchy-- which is itself undocumented even though it can be done with standard APIs.<br /><br />You could do what they do, and take your chances with it. Just be aware of the risks. Your app might (a) be rejected from the store, (b) be accepted but later booted (this has happened for unsupported API use), (c) be accepted and not booted but break the next time Apple has a new iPhone software update (since unsupported APIs or view hierarchies can change without warning). Or you could get lucky and have none of this happen.Userhttps://www.blogger.com/profile/11557173689529910046noreply@blogger.comtag:blogger.com,1999:blog-865923359735383241.post-14244842144263770122012-04-08T19:38:22.987-06:002012-04-08T19:38:22.987-06:00The UIImagePickerController is a UIViewController ...The UIImagePickerController is a UIViewController subclass that manages a view hierarchy. You are free to play around with the view hierarchy, as those apps are, but it is risky considering that Apple does not document it and could change it on any OS update.<br /><br />I have not heard of anyone being given special access to libraries, but I have read that there is a minor distinction between undocumented classes and methods and private frameworks. Undocumented classes are a gray area, but private frameworks are definitely not allowed.Userhttps://www.blogger.com/profile/11557173689529910046noreply@blogger.comtag:blogger.com,1999:blog-865923359735383241.post-10290458946493117942012-04-08T19:38:22.274-06:002012-04-08T19:38:22.274-06:00Have you seen this dicussion?
http://blog.airsour...Have you seen this dicussion?<br /><br />http://blog.airsource.co.uk/index.php/2008/11/11/views-of-uiimagepickercontroller/<br /><br />and this sample code for a custom picker?<br /><br />http://www.codza.com/custom-uiimagepickercontroller-camera-view<br /><br />hope it helps.Userhttps://www.blogger.com/profile/11557173689529910046noreply@blogger.comtag:blogger.com,1999:blog-865923359735383241.post-85010662039825458092012-04-08T19:38:21.621-06:002012-04-08T19:38:21.621-06:00You might want to check out a classdump of apple&#...You might want to check out a classdump of apple's private framework headers. Run this perl script:<br /><br />http://arstechnica.com/apple/news/2008/11/dumping-the-iphone-2-2-frameworks.ars<br /><br />and navigate to the PhotoLibrary directory under PrivateFrameworks. Some of the classes in here look pretty promising for direct camera access.<br /><br />Using the undocumented API could hurt your chances of passing through the app store, but it's all very subjective - If your product is good, apple will probably let it slide through. I'd recommend making friends with a developer evangelist at Apple.Userhttps://www.blogger.com/profile/11557173689529910046noreply@blogger.com