Search results for

Visual Studio Maui IOS

105,637 results found

Post

Replies

Boosts

Views

Activity

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
734
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 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
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. iPad has had this preference availabl
1
0
1.3k
Jun ’15
Reply to iOS 9 Beta battery life
Have you ever done a iOS beta before? These are very much to be expected.1. The claims they make will be what they are expecting for the final release2. iOS 6 beta was significantly worse.3. If you think this is bad... just wait, in the past the betas have gone from bad battery life to good, to bad again. They are working out the issues, you cannot expect this to work like a final product... because well, it is far from it.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Privacy and your app session notes
Apple views privacy as a human rightApp developers - be mindful of privacyKeeping the app ecosystem as a trusted place is important.Architecting for privacyData retentionData privacyData storageIdentifiersData RetentionHave a retention policyDelete data when it no longer serves a user needCollect the minimum data necessaryBalance storage of data against the risk of compromiseData Minimization TechniquesAnonymizeAggregateSampleDe-resolveDecayMinimizeWhat's the use of the data? What decisions are the collected data driving? If you can't come up with an answer, don't collect it. Minimize.Data transferEncrypt data in transitKeep sensitive data on the device, do not transmitProcess sensitive data on-deviceA good example of sensitive data - health data for a workout app. Process it on the device.On Device- Data protection- Keychain - store your secrets inside a keychain's encrypted storageServer side- Encrypt data at rest- CloudKitTransparencyBe clear about what data is being collected- Give users the ability to in
0
0
1.3k
Jun ’15
Using Metal and SceneKit together
I created a SCNView with the Metal Rendering API as shown below, however it does not work. If I change it to any of the opengl options the view is visible, however if set to SCNRenderingAPI.Metal, the view is no longer visible.Example A (This does not work)let options = [SCNPreferredRenderingAPIKey : NSNumber(unsignedLong: SCNRenderingAPI.Metal.rawValue)] let metalGameView = SCNView(frame: self.view.bounds, options: options)Example B (This does work)let options = [SCNPreferredRenderingAPIKey : NSNumber(unsignedLong: SCNRenderingAPI.OpenGLCore41.rawValue)] let metalGameView = SCNView(frame: self.view.bounds, options: options)Update: I've verified this actually works on iOS, just not on my mac. Metal does run successfully on my mac using MetalKit, just not with this scenekit option.
4
0
2.2k
Jun ’15
iOS 9 Error 14
Have tried 5 or 6 times now it install the beta package for 1474 on two diffrent computers. Each time the install freezes after about 10% and itunes pops and error code 14. I have tried diffrent cables and ports with no luck so far. I have tried redownloading the package to insure it wasnt corrupted but still no luck. It restores to 8.3 from both computers without trouble. I am unsure what to do from here. Has anyone else come across this and resolved it? Any suggestions as to what to try next? Your help is appreciated.
8
0
821
Jun ’15
WCSession sendMessage returning errors (simulator)
I think I've got my Connectivity stuff set up properly, was going off the Lister sample app. But, every time I try to send stuff via WCSession, it fails. Here's the code:// iOS App, in my ViewController override func viewDidLoad() { super.viewDidLoad() if WCSession.isSupported() { WCSession.defaultSession().delegate = self WCSession.defaultSession().activateSession() } } func session(session: WCSession, didReceiveMessage message: [String : AnyObject]) { let msg = message[message] as! String print(Got message! (msg)) } // -------------- // WatchKit Extension - WKInterfaceController subclass @IBAction func buttonTapped() { let session = WCSession.defaultSession() print(Session is reachable: (session.reachable)) // this is false let msg = [message: derp derp derp] session.sendMessage(msg, replyHandler: { reply in print(Got reply: (reply)) }, errorHandler: { error in print(error: (error)) }) }The error in the errorHandler reads Error Domain=WCErrorDomain Code=7004 The operation couldn’t be completed. (WC
6
0
6.9k
Jun ’15