bst365体育投注网址大全

Questions tagged [ios]

iOS is the mobile operating system running on the Apple iPhone, iPod touch, and iPad. Use this tag [ios] for questions related to programming on the iOS platform. Use the related tags [objective-c] and [swift] for issues specific to those programming languages.

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

Swift, is it possible to use SF Symbols in Navigation Bar title?

Wondering how I can use SF Symbols as View Controller title. Is it possible to do so? viewController.title = [somehow want to use an SF Symbol here]
0
votes
0answers
3 views

alarm local notification know when recieved

I have a alarm.fireDate time that I am assigning to a local notification. I need to be able to tell when the notification has fired off so I can do some stuff. Here is my notification let content =...
-1
votes
1answer
8 views

Top Bar occupies invisible space, leaves empty space in viewcontroller xcode storyboard

I've recently updated my XCode to the latest version and I came across an unknown bug like, I'm unable to understand what could be the reason behind this bug. Before updating the XCode all the layouts ...
0
votes
1answer
12 views

super.init(coder: coder) makes breakpoint error in Swift

I am following "Start Developing iOS Apps(Swift)" on apple website Now, I am on the process of adding rating system. I just followed what is written on the website. However, There's an error ...
0
votes
1answer
13 views

Making an api request using URLSession.shared.dataTask

I'm making an api request: var urlRaw = bookSummaryReadsDomainUrl + apiKey; let url = URL(string: urlRaw.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!) let task = URLSession.shared....
0
votes
0answers
7 views

Swift How to report live location to another iOS device

I'm trying to report live location in my app. So the first user while traveling will report his location to another device. I thought to set an interval, let's say every 10 min and then to update a ...
-3
votes
1answer
14 views

What is mean \. in Swift

For example in SwiftUI we can choose dark or light mode uisng environment(\.colorScheme, .dark), or get Identifiable key using \.id. But what does mean this syntax: \.something
-2
votes
0answers
9 views

After adding Sub layer to UI button the button stop responding [closed]

Border Gradient button I created first layer for the gradient that inserted at "0" and the second layer for White foreground and inserted at "1". But when we click the white part ...
0
votes
1answer
10 views

how to perform segue from a UICollectionViewCell inside UITableViewCell?

1- I have VC(a) with TableView 2- Inside the UITableViewCell.xib I installed a UICollectionView 3- UICollectionViewCell registered inside the UITableViewCell.xib of course 4- I want to perform segue ...
0
votes
0answers
20 views

Why can't I use a Color as a ShapeStyle? [duplicate]

I was trying to create a default initialiser which initialises a variable called shapeStyle to Color.black. However, it kept throwing this error: Cannot assign value of type 'Color' to type 'T' This ...
0
votes
0answers
6 views

NSFetchedResultsController with reverse indexPaths for chat messages

I have seen many references of issues for chat messages with NSFetchedResultsController, but did not found the proper solution. The most relevant issue similar to this one is here: ...
0
votes
0answers
7 views

How to build a collapsible sidebar as shown in the Files app?

For my app I need to rebuild the Files app to add sections and tools to fit the need of the app. Expected Result A visual of the native Files app on iPad OS (14.0) in the Dutch localization. Actual ...
-2
votes
1answer
17 views

How to add placeholder text to TextEditor in SwiftUI?

When using SwiftUI's new TextEditor, you can modify its content directly using a @State. However, I haven't see a way to add a placeholder text to it. Is it doable right now? I added an example that ...
0
votes
1answer
12 views

swiftUI how to update List dynamic

I'm using swiftUI just started. I often confused how difference between Declarative programming and Imperative programming. console log show error: ForEach<Range, Int, Text> count (2) != its ...
0
votes
1answer
20 views

callback javascript postMessage ios swift

Please tell me, there is an ios application, it contains WebKitView, and in it there is a site with this code: <div id="test" style="height: 40px; width: 100px; background-color: ...

15 30 50 per page
1
2 3 4 5
42306