I want to move the app to the home screen if there is no response from the user after a few seconds after launching the app.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I got a vision pro. I need a recording function, but when I looked it up in the developer documentation, I'm a little worried because it's only in the developer simulator. I'm making a recording app, but I'm asking other developers if they have any information because I don't want to make it so that Apple doesn't suggest or allow guidelines.
Added imageview to cell.
We have already indexed the label and implemented openurl.
But, I don't know how to index the image the way I wrote it.
Currently, no error code is entered, but the picture is not visible in the simulator.
import UIKit
private let reuseIdentifier = "Cell"
class CollectionViewController: UICollectionViewController {
var modelData = ["A","B","B","D","E"]
let urls = ["h","h","h","h","h",]
let imagedata = [UIImage(named: "image1"), UIImage(named: "image2"), UIImage(named: "image3"), UIImage(named: "image4"), UIImage(named: "image5")]
@IBAction func URLbutton(_ sender: UIButton) {
}
override func viewDidLoad() {
super.viewDidLoad()
}
// MARK: UICollectionViewDataSource
override func numberOfSections(in collectionView: UICollectionView) -> Int {
return 1
}
override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
return modelData.count
}
override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
let cell = collectionView.dequeueReusableCell(withReuseIdentifier: reuseIdentifier, for: indexPath)
// Configure the cell
if let label = cell.viewWithTag(100) as? UILabel {
label.text = modelData[indexPath.row]
}
if let imageview = cell.viewWithTag(200) as? UIImageView {
imageview.image = imagedata[indexPath.row]
}
return cell
}
override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
??
}
I'm going to dispose of my current MacBook Pro and use only vision pro, is it possible to run xcode normally on vision pro? There are too few rentals or disclosures about vision pro at Apple. Apple seems to be mystic...
I am trying to make a keyboard themed app.
I created a custom keyboard file through the target, but the file I created does not have keyboard keys.
How can I create a keyboardView and put the image I made into the keyboardView? There are too few related materials, so I need the help of experts.
What is the difference between swiftdata and coredata? I am coding by integrating coreda and icloud. As introduced at wwdc, I heard that it can be used more easily in xcode. However, for me who has to sell it tomorrow, the stability of swiftdata after the official release of ios17 in the future is low, and scalability and modification are difficult. If it's difficult, it's a lot of trouble. And the most important thing, is there any difference from coredata by using swiftdata in the experience of my valuable customers who use my program? I'm well aware that everyone is learning and discussing. Thank you for sharing your experience.
I currently have an m1pro Macbook and m2pro high-end Macmini. I saw on wwdc that Macbook and vision pro screen sharing is possible. But I wonder if I can see the mac mini screen as it is on vision pro. Is this very smooth and can I work or use my macmini at home using Vision Pro while I am out at a cafe or going out? Of course there is a delay, but like the xbox x or ps5, the delay will be available looking forward.
I think there is a problem with the keyboard of vision pro. I don't think it's difficult to enter another language. If you're not going to make it, shouldn't Apple provide an extended custom keyboard? Sometimes it's frustrating to see things that are intentionally restricted.
If you have any information about vision pro's keyboard or want to discuss it, let's talk about your thoughts together! I don't have any information yet
Currently, the id of my actual visionpro device is different from the xcode that works on my macmini. I added a visionpro id to xcode, but I can't build it with my visionpro. Can I log out of the existing login to xcode and log in with the same ID as visionpro? However, the appleID created for visionpro does not have an Apple Developer membership, so there is no certificate that makes it run on the actual device. How can I add my visionpro ID from the ID with my apple developer membership to run the xcode project app on visionpro? This is the first time this is the first time.
I want to make something that adds numbers over and over again.
If you add 50 at the beginning, it is saved in the core data, and if you add 80 again later, I want 130 to be saved in the core data right away.
How do I store the stored value directly in Core Data and add another number to that data?
I'm trying to make a keyboard that conforms to Apple's guidelines. I need to change the key layout like an app in the App Store, but I can't find any documentation or information about it.
Everyone leaves the keyboard instruction link and runs away.
Can you help me?
https://apps.apple.com/kr/app/slyder/id1121553033
Currently, I am making custom keyboard as an extension.
As I was making it, I was able to specify the background color of the keyboard button.
But what I want is to insert a UIImage instead of a UIColor, but it doesn't work. Can anyone tell me?
People like Claude 31 who can give me a rough idea, please do not comment and I will report you.
import UIKit
import CoreHaptics
import AVFoundation
enum ShiftStatus{
case capitalized
case normal
}
@available(iOSApplicationExtension 13.0, *)
class KeyboardViewController: UIInputViewController {
var engine: CHHapticEngine?
lazy var supportsHaptics: Bool = {
let appDelegate = UIApplication.shared.delegate as! AppDelegate
return appDelegate.supportsHaptics
}()
Currently working here 'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead. A warning message pops up. I have to use it in an extension. Does anyone know a solution?
Should we study C++ related to augmented reality and deal with Unity and Unreal Engine?
I made a custom keyboard.
However, I'm not sure how to actively create buttons according to the input type like the iPhone's default keyboard.
This is the information I found.
typedef enum {
case 'default'
case asciiCapble
case numberAndPunctuation
case URL
case numberPad
case phonePad
case namePhonePad
case eamilAddress
case decimalPad
case twitter
case webSearch
case asciiCapbleNumberPad
}UIKeyboardType;
static var alphabey: UIKeyboardType
Specifies a keybovard optimized for alphabetic entry