Source code:UIImagePickerController *imagePickerController = [[UIImagePickerController alloc] init]; imagePickerController.modalPresentationStyle = UIModalPresentationCurrentContext; imagePickerController.sourceType = UIImagePickerControllerSourceTypeCamera; imagePickerController.delegate = self; imagePickerController.showsCameraControls = YES; imagePickerController.allowsEditing = YES; self.imagePickerController = imagePickerController; [self presentViewController:self.imagePickerController animated:YES completion:nil];And then get console error when running in iPad on iOS 8.1 or 8.3 as follow:Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.Jun 12 10:58:15 iPad TwinsOrNot[180] <Error>: CGAffineTransformInvert: singular matrix.Jun 12 10:58:15 iPad TwinsOrNot[180] <Error>: CGAffineTransformInvert: singular matrix.Jun 12 10:58:15 iPad TwinsOrNot[180] <Error&g
Search results for
show when run
112,754 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
YES, you MUST support the 3.5 screen. The iPhone 4s is still amongst the supported devicesand will continue to be when iOS 9 ships this fall, Apple has said so very clearly. Also, unlessyou're writing a universal app, your iPhone app MUST run in 3.5 1x/2x compatibilty mode onthe iPad family.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
I have updated my iPhone 6+ apps via iTunes to ensure they are all up to date. The App Store app on the iPhone still shows them needing updating. Anyone else run into this?
In the What's New in Swift video, the following pattern is shown on a slide:for case .MyEnumCase (let value) in enumValuesBut tests in Xcode 7 show that this sort of thing won't compile (with suitable declaration of a MyEnum that has a .MyEnumCase with associated value, and setting enumValues to a [MyEnum] value. The simpler syntax:for case .MyEnumCase in enumValuesdoes compile, but of course doesn't give access to the associated value. Anyone know if this is merely a compiler defect, or if the actual syntax is something different?
I wonder when People will realize to not install the beta os on their main device. The PUBLIC beta is the user experience test run. dont expect to have a battery life on a dev firmware.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
The Apple Store app no longer is working after I upgraded my iPad Air 2. It opens but shows little to no information.
I've updated my Xcode to Xcode 6.3.2 (6D2105). Now all my existing Apple Watch projects no longer open the Apple Watch simulator (but code runs).I've tried creeating a clean project as well and added the Watch target. The WatchKit App, Notifcation, and Glances targets run, but the Apple Watch simulator doesn't show up.Only the iPhone target sim appears (and runs when that target is selected).I'm I missing some new setting to configure the sim to appear?PS: Running iPhone 6 / iOS 8.3 (12F69) sim
I read somewhere that developers are now allowed to ship apps that require 64 bit hardware (I didn't see the WWDC video where this was announced, I read it on some blog so...it could be misinformation, though I have no reason to believe it is).In theory, Apple could release a 3.5 inch iPhone in the future with 64 bit support, so relying on that could cause problems in the future (and your app would also have to be universal...if it's iPhone-only it may still run on the iPad in compatibility mode...though I'd think by now they would change that to have the iPad scale up the iPhone 6 Plus layout instead.....I imagine that would look better than using the 3.5 inch).Handling the old 3.5 inch iPhone can be a pain for some designs...because it's smaller and the proportion isn't the same as the other iPhones so certain design things cannot be solved with math.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
I've been dumping the communication on my iPhone with tcpdump and interestingly when on the homescreen and doing nothing it does not communicate anything but the spinning wheel besides the operator logo starts as soon as I go to the homescreen (only at certain times in the day, from time to time it stops). During that it does not connect anywhere which I first thought. Disable mobile data and Wi-Fi and it stops completely. No more background process going on without an Internet connection. So it does something in a background process when connected to the Internet even though it does not transmit something. And during that background process my phone runs hot. Disabling mobile data and it cools down and stops with the battery bleeding. Just something I've noticed so far.. So now I use my phone disabling mobile data and Wi-Fi and when needed I enable mobile data to check mail etc. Just to see and monitor what happens.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
solved by making sure the framewok scheme tests target has only Test checked in and no Run
Topic:
Programming Languages
SubTopic:
Swift
Tags:
So I just downloaded Xcode 7 and start playing with Swift 2I use one of my previous project and also a playground for testing new syntaxes.However I get into trouble when I use this line of code to fetch raw data from an free online apilet dataSource = NSData(contentsOfURL: NSURL(string: http://api.openweathermap.org/data/2.5/weather?id=5375480)!)Inside playground, the code ran perfect and I get excactly what I what.However I got nil for the dataSource everytime when I build the App on iOS 9b1 or either simulator, since the class is excactly same, I just can't understant why this happened.I try the product I built from my previous project using Xcode 6.3.2 with Swift 1.2 Syntax which is running on the same iPhone with iOS 9b1, I still get perfect result back, therefore it shows that it's nothing to do with hardware settings or API problems.Since I'm not sure if either I have missed something is important or it just an other early-pre-release bug cause this problem, please let me know if you
Hello all,first time i am submiting an app.It is very simple app and for unexplained reason it crashed during apple review.i received the following details:During review, your app crashed on iPad running iOS 8.3 and iPhone running iOS 8.3 when we:1) launch app2) tap start button3) app crashesThis occurred when your app was used:- Offline- On Wi-Fi- On cellular networkI tested the app on my iphone and ipad,which has the same IOS version, also sent to other Iphone via Test Flight. Tested on simulators.The sent me a crash log but i can't find any usefull info or i can't read it right.Can anyone help please
hi, i have a simple avaudioplayer, wich runs with a custom rate from -16% to +16%. If the rate is not exactly 1.0 the Sound quality is really bad.i tried 48khz aiff and wav format And set a 48khz sample rate To my Audio Session as well.quality is still bad... can anyone help me?
Just wanted to confirm that you are not the only one. Also, if two different contacts have shared data... when you make a call to one, it will show the contact name of the other contact. It is the WWDC beta afterall.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
watchOS 2 requires iOS 9. You will either need to live without that watch until release, or live with beta software on those devices.As stated in http://adcdownload.apple.com/Documentation/Beta_Software_Installation_Guides/watchOS_beta_Software_Installation_Guide.pdf: Pre-release software is intended only for installation on development devices registered with your Apple Developer Program membership.and: Devices updated to watchOS beta may not be restored to earlier versions of watchOS.and: watchOS 2 beta supports iPhone 5, 5c, 5s, 6, or 6 Plus running iOS 9 beta
Topic:
App & System Services
SubTopic:
Core OS
Tags: