Posts

Post not yet marked as solved
7 Replies
556 Views
I need the timezone of the device for a registration flow. It get's submitted to a backend server. I setup a device and adjusted the TimeZone to San Francisco and tried the following. swift let identifier = TimeZone.current.identifier The identifier is US/Pacific - looking nice to me. But the server developer isn't happy about that. He expects the format America/Los_Angeles I tried to get that fomat but failed, any solution to the issue?
Posted Last updated
.
Post not yet marked as solved
2 Replies
221 Views
Hi, I use UISteppers inside UICollectionViewCells. I configured everything by Xib, but the autorepeat and isContinuous get ignored. IBAction method gets called once. If I tap and hold nothing happens. This. only happens inside CollectionViewCells - if used in a normal View or TableViewCell everything seems to work as expected. Anyone has seen this issue before and knows how to resolve it? Best Regards, Kai
Posted Last updated
.
Post not yet marked as solved
1 Replies
372 Views
I trie to download lates beta of macOS Big Sur. But loading never stops. It reaches 9.56 GB of 9.56 GB but sill shows loading - for 12 hours now. Anyone knows what problem this is and how to slove it?
Posted Last updated
.
Post not yet marked as solved
2 Replies
1.3k Views
I embedded an AVPlayerViewController inside of my ViewController like that: avPlayerViewController.player = AVPlayer(url: viewModel.videoURL) avPlayerViewController.delegate = self addChild(avPlayerViewController) view.addSubview(avPlayerViewController.view) avPlayerViewController.view.translatesAutoresizingMaskIntoConstraints = false NSLayoutConstraint.activate([ avPlayerViewController.view.centerXAnchor.constraint(equalTo: videoContainerView.centerXAnchor), avPlayerViewController.view.centerYAnchor.constraint(equalTo: videoContainerView.centerYAnchor), avPlayerViewController.view.widthAnchor.constraint(equalTo: videoContainerView.widthAnchor), avPlayerViewController.view.heightAnchor.constraint(equalTo: videoContainerView.heightAnchor) ]) avPlayerViewController.didMove(toParent: parent)If video playback is runing I can open fullscreen mode (and leave it). But if I use pinch to zoom the running video, at the moment my fingers lift from screen I can see the running video zoom back to normal size and next all I can see is a black screen. I can still hear the audio from video playback, but no interaction is possible.Xcode 11.2.1 gets used.Any solution for this issue known?Regards,Kai
Posted Last updated
.
Post not yet marked as solved
17 Replies
7k Views
Hi,I can't develop with my iOS 13.2 devices right now. Xcode 11.1 doesnt' support iOs 13.2 yet.Where is the required update, I can't find it?Regards,Kai
Posted Last updated
.
Post not yet marked as solved
1 Replies
902 Views
If I select the testflight tab inside appstoreconnect.apple.com it restarts the whole process and opens up the Apps section.I can't enter the testfligth section at the moment.Anyone has a solution?
Posted Last updated
.
Post not yet marked as solved
3 Replies
1.6k Views
Hi,I'm using a UITableViewController to sellect multiple cells.tableView.allowsMultipleSelection = true tableView.allowsSelectionDuringEditing = trueThis works fine until the user makes a swipe action. A the moment the swipe action start all TableViewCells get deselected. Is there a way to keep selection state?
Posted Last updated
.
Post not yet marked as solved
1 Replies
624 Views
Hi,I have the problem, that invitation mails - for iTunes Connect Users - do not come in.Some users receive them, others don't.Please help Apple! Testfligth us unuseable if invitaion mails don't get send.Regards,Kai
Posted Last updated
.
Post marked as solved
5 Replies
1.2k Views
Hi,I'm triying to establish a TCP Connection via NWNetwork:NWConnection(host: "push.myservices.de", port: 13219, using: .tls)But all I get is the message:Connection failed -9808: Optional(bad certificate format)The certificate is availabel on the server as bundle.crt file.TLSv1.1 and TLSv1.2 are supported and the ssl_ciphers looks lie this:'ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4';Any idea what is wrong? Without TLS the connections (over an other port) works fine.
Posted Last updated
.
Post not yet marked as solved
1 Replies
1.7k Views
We uloaded an App update yesterday. But we can't see the build inside the Testflight Apps.New internal testers didn't recived invitation emails and existing testes don't got notifyied about the new build.In AppStore Connect the Build status says 'in test'
Posted Last updated
.
Post not yet marked as solved
3 Replies
4.1k Views
Hi,inside our application, we need to use a WKWebView.The app uses dynamc type and a custom font all over. So we want this to get included into the WKWebView too.I can enable dynamic type inside the css -> we lose the custom fontfont: -apple-system-body;I can load my custom font -> we lose dynamic type@font-face { font-family: 'Open Sans'; font-weight: normal; src: url(OpenSans-Regular.ttf); }Is there a why to use dynamic type with custom font inside a WKWebView?
Posted Last updated
.
Post not yet marked as solved
1 Replies
650 Views
Hi,I'm trying to implement a line bases protocol via a TCP socket. SO far I can enable the connection, send and receive data.But I struggle to detect the stream buffer is empty while reading so I can process the content read.My test is based on an example I found form eskimo.Here is, what I do for the moment: static let shared = StreamQuoteServer() private override init() {} private lazy var session: URLSession = { let config = URLSessionConfiguration.default return URLSession(configuration: config, delegate: self, delegateQueue: OperationQueue.main) }() private var stream: URLSessionStreamTask! // callback if something comes in from server side func startRead(stream: URLSessionStreamTask) { stream.readData(ofMinLength: 1, maxLength: 200, timeout: 60.0) { (data, eof, error) in if let error = error { NSLog("read error") } if let data = data { // finaly we got some real data from the server! let responseString = String(data: data, encoding: .utf8)! print("\(responseString)") } NSLog("read eof %@", eof ? "true" : "false") if error == nil && !eof { self.startRead(stream: stream) } } } func connectServer() { stream = self.session.streamTask(withHostName: "a remote server", port: 1234) stream.resume() // needed if we use TLS later on ? // stream.startSecureConnection() self.startRead(stream: stream) } func disconnectServer() { NSLog("stop") sendCommand("q\n") stream.closeRead() stream.closeWrite() self.stream = nil } func login() { sendCommand("login\n") } func getData() { sendCommand("s123@1\n") // this will request data with output } private func sendCommand(_ command: String) { let hello = command.data(using: .utf8)! stream.write(hello, timeout: 60.0) { (error) in if let error = error { NSLog("write error") } else { NSLog("write complete") } } }In Line 23 eof will never reache true - the results are more that 200 bytes long and I can see them all completly get read.After reading the last char the timeout will trigger an error.
Posted Last updated
.
Post not yet marked as solved
4 Replies
1.2k Views
Hi,I hosted my git repositories on an Macos Server. After upgrading to Xcode 9 (on the Server) it's no longer possible to manage my repositories?What's the best solution if I don't want to use GitHub and store my repositories on our server?Regrad,Kai
Posted Last updated
.