ios13

Xcode fails to Build on real iOS device running iOS 13

牧云@^-^@ 提交于 2019-12-03 02:59:24
I'm currently updated my iPhone XS Max to iOS 13.0.17A5492t Beta version. My mac running on Mac OS Catalina and Xcode is on latest stable version not beta >> Version 10.2.1 (10E1001) . When i try to build my apps on my real device i get this compile error: This iPhone XS Max is running iOS 13.0 (17A5492t), which may not be supported by this version of Xcode. What i've done Download iOS 13.0 Developer Disk Image from repo. Pasted in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport Restart Xcode but none of above worked. your step by step manual you performed

iOS 13 Animating View Not Changing Frame

ε祈祈猫儿з 提交于 2019-12-03 01:05:37
I have an app which is compiled in Xcode 10 on iOS 13 simulator. In one view there is a "tray" view which shows from the bottom when tapped, in iOS 12 it works perfectly, in iOS 13, the tap is calling the method, but the changes to the frame are not saving - I have included outputs from the debugger in comments so you can see what the outputs of the frame values are; - (void) userClickActivityTray: (UITapGestureRecognizer *) gestureRecognizer { if(self.activityTrayShown) { /* (lldb) po self.activityTrayContainerView.frame (origin = (x = 0, y = 792), size = (width = 414, height = 104)) */ [self

iOS13: how to detect a status bar click event?

流过昼夜 提交于 2019-12-03 00:23:41
In my appDelegate, I override touchesBegan to detect when the status bar is clicked: - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesBegan:touches withEvent:event]; CGPoint location = [[[event allTouches] anyObject] locationInView:kWindow]; CGRect statusBarFrame = [UIApplication sharedApplication].statusBarFrame; if (CGRectContainsPoint(statusBarFrame, location)) { ///do something } } Before iOS 13, this worked; on iOS 13, it does not. The method is never executed. How can I fix this? After some research, I found that the status bar is no longer part of the

iPadOS: Network connected via NEHotspotConfiguration disconnects after a while

偶尔善良 提交于 2019-12-02 22:56:08
My app uses NEHotspotConfigurationManager to connect itself to a certain device using a Wi-Fi. The device acts as an WPA2 access point. In older iOS versions (iOS 12 and lower) everything worked fine, but in iPadOS/iOS 13 the device is being disconnected after a while every single time. How to keep a connection on without storing NEHotspotConfiguration permanently? I suspect that it has something to do with a new feature - Multiple Windows (which is not supported by my app). The reason is that in my NEHotspotConfiguration I set joinOnce flag to true (since the device's network should never be

How to detect device name in Safari on iOS 13 while it doesn't show the correct user agent?

拟墨画扇 提交于 2019-12-02 20:37:15
After Apple's iOS 13 reales, I realized window.navigator.userAgent in Safari on iPad iOS 13 is same as on MacOS. Something like this: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15 As you see, it's a wrong user-agent for iPad and even there is no way to detect if the current device is an iDevice. After an initial research, I found a work around for it: Go to Settings -> Safari -> Request Desktop Website -> All websites. You notice "All websites" is enabled by default . If you disable it and get window.navigator.userAgent the

UIWindow not showing over content in iOS 13

自闭症网瘾萝莉.ら 提交于 2019-12-02 19:36:51
I am upgrading my app to use the new UIScene patterns as defined in iOS 13, however a critical part of the app has stopped working. I have been using a UIWindow to cover the current content on the screen and present new information to the user, but in the current beta I am working with (iOS + XCode beta 3) the window will appear, but then disappear straight away. Here is the code I was using, that now does not work: let window = UIWindow(frame: UIScreen.main.bounds) let viewController = UIViewController() viewController.view.backgroundColor = .clear window.rootViewController = viewController

SwiftUI - Half modal?

南楼画角 提交于 2019-12-02 18:30:22
I'm trying to recreate a Modal just like Safari in iOS13 in SwiftUI: Here's what it looks like: Does anyone know if this is possible in SwiftUI ? I want to show a small half modal, with the option to drag to fullscreen, just like the sharing sheet. Any advice is much appreciated! As of Beta 2 Beta 3 you can't present a modal View as .fullScreen . It presents as .automatic -> .pageSheet . Even once that's fixed, though, I highly doubt they will give you the drag capability there for free. It would be included in the docs already. You can use this answer to present full screen for now. Gist here

Combine @Published could not be found - Xcode11 Beta 5(11M382q)

萝らか妹 提交于 2019-12-02 15:16:20
问题 I am trying to run a simple project with the following: @Published var currentPlacemark: CLPlacemark? = nil XCode11 Beta5(11M382q) iOS13(17A5556d) Getting the following error: dyld: Symbol not found: _$s7Combine9PublishedV9PublisherCyx_GAadAM Anyone else encountered this? Code example: import SwiftUI import Combine class MyFoo { @Published var bar: String = "" } struct ContentView: View { var body: some View { Text("Hello World") } } #if DEBUG struct ContentView_Previews: PreviewProvider {

iOS 13 - When Search Active Push to other VC then that VC UITableView goes under the NavigationBar in Swift 4

给你一囗甜甜゛ 提交于 2019-12-02 13:43:25
问题 I have check this in iOS 12 it's working fine. Issue is when I am going to search and push to second VC it working fine. when I back and again push to second VC then UITableview goes under the NavigationBar. Normal push working fine only issue when search active and push second time. I have try this below solution but none of this are working for me. UnderTopBar forKeyPath:"hidesShadow" edgesForExtendedLayout automaticallyAdjustsScrollViewInsets extendedLayoutIncludesOpaqueBars self.view

CoreBluetooth API MISUSE - Issues with CBCentralManager in iOS 13 features like Siri Shortcuts

余生长醉 提交于 2019-12-02 10:27:26
I added Siri Shortcuts to my application and to utilize voice commands The error Im getting in the debugger is: [CoreBluetooth] API MISUSE: can only accept this command while in the powered on state I have looked at a vast number of duplicates of this for issue on here and the consensus is that CBCentralManager needs to be a class level variable, which I have. I still cannot get UpdatedState delegate method to execute more than one time in the context of Siri Voice Commands or the new iOS 13 shortcuts app. This means my application cannot do consecutive functions. Keep in mind, it works ONCE,