Search results for

İOS 26 beta battery %1

250,964 results found

Post

Replies

Boosts

Views

Activity

Reply to Bluetooth apps crashing
From the iOS 9 release notes:Apps that use CBCentralManager (particularly retrievePeripherals: and retrieveConnectedPeripherals) will crash on launch or upon pairing an accessory. CBCentralManager was deprecated in iOS 7.0 and has been removed in iOS 9.0.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
CBCentralManager deprecated?
The iOS 9 release notes read:Apps that use CBCentralManager (particularly retrievePeripherals: and retrieveConnectedPeripherals) will crash on launch or upon pairing an accessory. CBCentralManager was deprecated in iOS 7.0 and has been removed in iOS 9.0.I am wondering heavily if this is a mistake or actually true? CBCentralManager does not seem to be deprecated currently, and still seems to be present and working in iOS 9 from my tests. I did notice some differences in how BTLE works, but basically its still the same as before.I suppose the release notes actually mean that the two methods have been removed, not the entire class? If CBCentralManager is really removed, how is it replaced?
2
0
727
Jun ’15
Reply to How does a view controller call functionality of a view (how is the link made?)
You have to create these connections in InterfaceBuilder. The following text gives a good explanation (examples in ObjectiveC but works in Swift the same):https://developer.apple.com/library/prerelease/ios/recipes/xcode_help-IB_connections/chapters/AboutConnectingObjectstoCode.htmlAnd no fear: Cocoa is a big framework and the needed information is sometimes a little hard to find 🙂
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Printing
Anyone else get stuck trying to print from a device with iOS 9? The print sheet comes up to select the printer, pages, etc., but there's no way to actually initiate the print.
4
0
1.4k
Jun ’15
Reply to Low sound
Same problem here. Sorry I cannot help.These little oversights can be expected in Beta form. However, it was annoying to sleep right through my alarm this morning!I guess Apple software engineers are concerned with hearing loss.😕
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Safari crashing
Safari was working just fine until I rebooted. Now it crashes. This is on a Imac. I am also running the beta on my Macbook Pro and it is fine there. One the imac I am getting an error message about java not working but not on the Macbook pro. Anyone else having this kind of problem..
1
0
342
Jun ’15
Reply to I want to put bordercolor with uiview by swift.
Thank you.I probably resolved this problem.'User Defined Runtime Attributes' was good clue for me.I tried the following code by referencing https://www.weheartswift.com/make-awesome-ui-components-ios-8-using-swift-xcode-6/@IBDesignableclass BorderView: UIView { @IBInspectable var cornerRadius: CGFloat = 5 { didSet { layer.cornerRadius = cornerRadius layer.masksToBounds = cornerRadius > 0 } } @IBInspectable var borderWidth: CGFloat = 1 { didSet { layer.borderWidth = borderWidth } } @IBInspectable var borderColor: UIColor? = UIColor.blueColor() { didSet { layer.borderColor = borderColor?.CGColor } }}if i tried above file on another project,it ran correctly.if i couldn't run correctly another project,i would write it.Thank you.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’15
Missing Apple Watch Activity Data
I have just installed iOS 9 on my iPhone 6 Plus and when it started up it wiped my apple watch and I had to set it up again.After setting my apple watch up again I am missing the Activity Data for the last 48 hours, but when i look at the activity app on my phone the steps and what not are there but the rings for the last 2 days are both empty
5
0
1.8k
Jun ’15
Reply to Any news on reflection in Swift 2.0?
I don't know enough about MirrorType's capabilities to say if it's completely the same, but the parts I want still don't work (at least not in the playground, running Xcode 7.0 beta (7A120f) on 10.10.3):import Cocoa let str = Hello, playground let strReflect = reflect(str) let works = str.dynamicType()//creates a new string let doesNotWork1 = strReflect.value.dynamicType()// 'Any' cannot be constructed... let doesNotWork2 = strReflect.valueType() // sameIf there's something in particular you want tested, I'll be happy to try it and let you know what happens.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Swift: Subclassing NSNotification
Hello everyone,Has anyone figured out a way to subclass NSNotification using Swift? I've done this in the past with Objective-C, but haven't figured out how to accomplish this with the rules for initializers in Swift. I realize there are alternatives to subclassing, but I'd really like to figure out how to do this. Here is a simplified version of what I'm attempting to do:class MyNotification: NSNotification { var someCustomData: String = override var name: String { return } override var object: AnyObject? { return nil } override var userInfo: [NSObject: AnyObject]? { return nil } required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) } init(someCustomData: String) { // Compiler wants me to call super.init, but this causes // issues since NSNotification is a class cluster. } }If I try calling super.init or using one of the NSNotification initializers when I instantiate an instance of MyNotification, I get this error:*** initialization method -initWithName:object:userInfo: cannot be s
Topic: UI Frameworks SubTopic: AppKit Tags:
2
0
1.3k
Jun ’15
iOS 9 side-switch behavior
In iOS 9 beta 1, there is a Use Side Switch To: preference allowing selection of Lock Rotation or Mute, similar to iPad. As a user, I expect to enjoy this feature as I don't personally have a need to quickly disable the mute feature, but often want to lock my phone in portrait mode when reading. However, I'm noticing two immediate differences that could affect app interaction design, and I wonder if only one is deliberate.1) Rotation lock, when controlled by the side switch, behaves like previous iPhone on-screen controls in that it locks vertically. From a development perspective, that means developers should continue to implement their own controls to force landscape when necessary. YouTube provides a good example of this with their full screen control, whereas many creative apps have only a landscape mode.2) Mute is not available in Control Center, leaving no clear ability to acheive the mute functionality the side switch has toggled since the original iPhone. i
1
0
1.3k
Jun ’15