Search results for

show when run

112,754 results found

Post

Replies

Boosts

Views

Activity

UIImagePickerController take picture from camera with a black preview
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
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
862
Jun ’15
for case enum syntax
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?
4
0
1.6k
Jun ’15
Apple watch simulator no longer runs after updating to Xcode 6.3.2 (6D2105)
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
1
0
756
Jun ’15
Reply to Do we have to support 3.5 inch screens?
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.
Jun ’15
Reply to iOS 9 Beta battery life
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:
Jun ’15
Swift 2.0 behaved weird when fetching data using NSData (Playground give different result from the Actual App with same Code)
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
1
0
946
Jun ’15
app crashes during the review
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
5
0
2.8k
Jun ’15
Audio quality on custom rate
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?
2
0
4k
Jun ’15
Reply to downgraded from ios9 to 8.3 - watch bricked
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:
Jun ’15