ios8.3

iOS 8.3 UIAlertController crashes when trying to add a textfield

不羁的心 提交于 2019-11-29 06:21:55
问题 I have an iPad app. I am creating an UIAlertController and adding a textfield. It crashes. It only crashes when I add a textfield. let alert = UIAlertController(title: "Enter Name", message:nil, preferredStyle: UIAlertControllerStyle.Alert); alert.addTextFieldWithConfigurationHandler { (textfield:UITextField!) -> Void in textfield.placeholder = "Sexy time"; } alert.addAction(UIAlertAction(title: "Ok", style: UIAlertActionStyle.Default, handler: {(action:UIAlertAction!) -> Void in //Some

Application sticks on OSSpinLockLockSlow

南笙酒味 提交于 2019-11-27 19:53:59
Update 2: I found a workaround which is to synchronize MOC deallocating and saving. Please see the updated project. https://github.com/shuningzhou/MOCDeadLock.git Note: I made it fail more aggressively. Don't run it on a real device! Update: A sample project to demonstrate this issue. https://github.com/shuningzhou/MOCDeadLock.git XCode 6.2: Unable to reproduce. XCode 6.3: Reproducible. XCode 6.4 beta: Reproducible. ========================== The Issue =============================== Our app randomly stuck on OSSpinLockLockSlow after upgrading to XCode 6.3. In our project, we used NSOperation

How can I change the default design of FBSDKLoginButton iOS 8.3/Swift 1.2?

十年热恋 提交于 2019-11-27 19:12:20
I'm working on App currently and I need to change the default design of Facebook button which is provided by Facebook SDK. I succeeded to let the provided button be transparent and stick it above over designed view , and it worked well(now the design is matched and the functionality of Facebook SDK button is working well). my problem turned up after I did that because the button lost it's Ui effects (no highlighting upon clicking). Please if any one can help me , I need to put highlighting effect to this designed button. Let clarify: I've UIView designed as button , I've put a transparent

How can I change the default design of FBSDKLoginButton iOS 8.3/Swift 1.2?

我的梦境 提交于 2019-11-27 04:22:26
问题 I'm working on App currently and I need to change the default design of Facebook button which is provided by Facebook SDK. I succeeded to let the provided button be transparent and stick it above over designed view , and it worked well(now the design is matched and the functionality of Facebook SDK button is working well). my problem turned up after I did that because the button lost it's Ui effects (no highlighting upon clicking). Please if any one can help me , I need to put highlighting

App is not showing in the share menu of shared options in shared extension in iOS8

送分小仙女□ 提交于 2019-11-27 02:46:18
问题 I'm developing share extension for my app. Every thing is fine, but i'm facing one main problem, my app is not in the share menu while sharing from photos app. Below is the plist of my shared extension. It's not showing in the list, below is the screenshot: But when i go to more option, set the switch of my extension off and on, now it is showing in the list, But i need to do it every time, below are the screenshots: Every time i ran the extension from X-Code, It's not showing the share menu,

Get CellID, MCC, MNC, LAC, Signal strength, quality and Network in iOS 8.3

帅比萌擦擦* 提交于 2019-11-26 20:33:34
问题 How to get cell id using private apis in ios 8.3 as previous core telephony private apis are not working in latest ios sdk 8.3. 回答1: You can still use this. It's working on iOS 8.3. I don't know how to get signal strength. Apple has changed many things in Core Telephony lately. :( CTTelephonyNetworkInfo *telephonyInfo = [CTTelephonyNetworkInfo new]; NSString *carrierNetwork = telephonyInfo.currentRadioAccessTechnology; NSLog(@"Mobile Network): %@", carrierNetwork); CTCarrier *carrier =

Application sticks on OSSpinLockLockSlow

爷,独闯天下 提交于 2019-11-26 20:07:10
问题 Update 2: I found a workaround which is to synchronize MOC deallocating and saving. Please see the updated project. https://github.com/shuningzhou/MOCDeadLock.git Note: I made it fail more aggressively. Don't run it on a real device! Update: A sample project to demonstrate this issue. https://github.com/shuningzhou/MOCDeadLock.git XCode 6.2: Unable to reproduce. XCode 6.3: Reproducible. XCode 6.4 beta: Reproducible. ========================== The Issue =============================== Our app

Static Library and Swift

只谈情不闲聊 提交于 2019-11-26 10:36:19
问题 So I\'m working on an iOS project in Swift, and I wanted to create a Static library with some useful stuff in it. My problem is when I try to build my lib in Xcode (version 6.3) I have a \"Build Failed\" followed by : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: unknown option character \'X\' in: -Xlinker I\'ve never saw this and it\'s not my first static lib. So I was thinking I may be linked to the fact that I\'m using exclusively Swift