I have an attributedString with 100 NSTextAttachments(contains image of 400kb). When i scroll the textview, it is lagging, When i did the same in textkit 1, it is butter smooth. It can be because of how textkit 1 & 2 layout the elements. let attachment = NSTextAttachment() attachment.image = UIImage(named: image2) let attachmentString = NSAttributedString(attachment: attachment) let mutableAttributedString = NSMutableAttributedString(attributedString: textView.attributedText) for _ in 0...100 { mutableAttributedString.append(NSAttributedString(string: n)) mutableAttributedString.append(attachmentString) } textView.attributedText = mutableAttributedString How to handle images in textkit 2 so that it feels smooth while scrolling textview?
Search results for
DTiPhoneSimulatorErrorDomain Code 2
158,679 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Just updated to 10.14 Beta 2 (18A314h). I am seeing a process named YaraScanService. I don't think it was there in Beta 1.Anyone know what this does?
Hi,This used to be simple, but how does one install two versions of XCode on one computer? I have 7, and I need to install 7.1 for beta testing.Thanks,Dan Uff
I am writing to seek assistance with a persistent issue I am encountering with Bluetooth pairing and Multipeer Connectivity on two iPad devices ((Model: [iPad Pro (11 inch,2nd generation)] and Model: [iPad (6th generation)) and running iOS [iOS 16.6] Issue Description: Bluetooth Pairing Problem: I am unable to establish a Bluetooth connection between two iPad devices. Despite following the usual steps for pairing devices, such as enabling Bluetooth and ensuring both devices are discoverable, the pairing process is not successful. This issue prevents the devices from communicating over Bluetooth. But when I try to pair these two iPads with different iPhone , Bluetooth pairing is successful. Multipeer Connectivity Issue: Additionally, due to the failed Bluetooth pairing, the Multipeer Connectivity framework on these devices is not functioning as expected. Multipeer Connectivity relies on Bluetooth and Wi-Fi for nearby device discovery and communication. As a result, my application, wh
Hello! I encountered a problem accessing APi for VisionOS 2 https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_arkit_object-tracking-parameter-adjustment_allow How can I use it in a regular developer account?
You keep writing ‘Store securely’. That is a good question and you received two answers 1) in the keychain and 2) by adding or changing certain characters so only your app’s hard code can decode it. But your real question is ‘how can I place a secret token in my app’ and for that question only #2 is applicable.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
Hi,My app has been In Review for two weeks. What should I do?I tried going to the Resolution Center, but can't find any way there to send Apple a message.
I have an input texture in a ShaderGraphMaterial. I use .replace(withDrawables:) to replace the texture with a drawable queue. When I present drawables to this queue, nothing happens in VisionOS 2. The drawables are not presented, I can't get any more via nextDrawable() because the unpresented ones are holding things up. This is with both bgra8Unorm_srgb and rgba16float formats. I have confirmed the material applied to my object has the modified texture resources on them. It was working in VisionOS 1.2. What changed in VisionOS 2 to cause this?
I got same message from my app. I am using this account over 2 years. 2 apps are already submitted. This was my 3rd app. This is very little radio app. Just 2 page and few functions. I meant to say there is no harmful and suspicious codes. I don't understand why this happened
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
I am new to iOS game development and have been trying without success to set up a simple test environment to test the invitation process for my game. I am very confused about how iTunes connect is supposed to work. To test a two player real time game do I need to set up two new apple IDs in iTunes connect? If so, then what? I have an iPod and and iPhone I'm using to test the game. Do I need to log out of the current apple ID on each of those devices and then log in with the new apple IDs? Both devices are logged into GameCenter and I see the devices sending messages to each other to start the game but when I click on the invitation on the receiving device, the sending device just spins waiting for the invitation to be accepted and never runs the didFind protocol code in the GKMatchmakerViewController class. Thank you in advance for your help.
How odd. I'm at WWDC, but watchOS 2 think I'm in the South Atlantic Ocean! My iOS9 iPhone 6 is still convinced I'm in San Francisco though...
When you click on the Release Notes link for macOS 10.12.5 beta 2 it takes you to iOS 10.3.2 beta release notes @ http://adcdownload.apple.com/Documentation/Beta_Release_Notes_Apr_10_2017/iOS_10.3.2_beta_2_Release_Notes.pdf
Hello, I have two quads with different vertex coordinates. How can I multiply the first quad color to mask components like Red or blue or green from the second quad color.
Hi, I'm starting using StoreKit 2 and I have some questions regarding transactions. To check which non-consumable in-app purchases the user has purchased, immediately after starting the app I look at Transaction.currentEntitlements. That's working fine, but I have some questions about it. Question 1: What happens if the user is not connected to the internet? Will Transaction.currentEntitlements still return data? Question 2: What happens if the user sign out from the AppStore? Will Transaction.currentEntitlements be empty? Question 3: What happens if the user sign in AppStore with different credentials? Transaction.currentEntitlements will return the transaction of the new AppStore user? Thank you
Hello! I encountered a problem accessing BETA APi for VisionOS 2 https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_arkit_object-tracking-parameter-adjustment_allow How can I use it in a regular developer account?