All Questions
96
questions
0
votes
0
answers
259
views
HTML text with underline has unexpected appearance with attributed string in version iOS 14
I am trying to use the HTML as the content of UILabel but getting a weird issue in iOS 14 that the underline color is getting changed as per the text color.
I am using the following code
ViewDidLoad
...
6
votes
0
answers
606
views
Convert SPM modules to .xcframework
My iOS project is split up in several SPM modules. Now I would like to distribute some of them as .xcframework.
Is there a way to automatically create .xcframeworks out of the SPM modules? Or some (...
0
votes
1
answer
111
views
how to present a tabBarViewController(created in storyboard) using code when pressed a particular button in swift5?
I have a viewController called as ViewController and I have a button on it , I want to present a tabBarController (which already contains two viewControllers) when pressed a button and I want it ...
0
votes
1
answer
98
views
Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value , Label
I just included certain firebase pods in my project , before that my project had no errors and it was running just fine , but when I added this code
override func viewDidAppear(_ animated: Bool) {
...
2
votes
1
answer
2k
views
iOS 13 Swift 5 wkwebview - display image from documents directory into wkwebview real device
I have an app with downloaded images to be displayed in local html in WKWEBVIEW. Everything is working fine but it is not showing image on iPhone device
the html is
"\n<img src="images/...
0
votes
1
answer
437
views
Stretchy Header in UICollectionViewCompositionalLayout in ios 14?
How can I override layoutAttributesForElements in UICollectionViewCompositionalLayout ?
func createCompositionalLayout() -> UICollectionViewLayout {
let layout = ...
0
votes
1
answer
34
views
Dynamic pictures for splash iOS 13
I am using xcode 11.5. I need to show different picture every time on launch screen.
I tried so many things but nothing worked. I created a different view (Custom Splash) but it always displays the ...
0
votes
1
answer
168
views
Failed to set (titleText) user defined inspected property
I have a UIViewController, "MainViewController"-
class MainViewController: UIViewController {
@IBOutlet weak var segmentControl: UISegmentedControl!
@IBOutlet weak var ...
-3
votes
3
answers
510
views
Why cannot use if statement in AppDelegate?
why I cannot pass the constant in if statement?
if UIDevice.current.orientation.isLandscape{
let storyboard = UIStoryboard(name: "landscape", bundle: nil)
let ...
0
votes
1
answer
193
views
touchesBegan not working inside UIScrollView Swift 5
I know this question has been asked 100 times on stackoverflow but I simply cannot find an answer to this. I have a scrollerView, and inside that there is a scrollerContentView.. how am i supposed to ...
-1
votes
1
answer
467
views
How to upload file (.pdf) using WK WebView in Swift?
Using WK WebView, I am not able to select .pdf below iOS 13. .pdf files are selectable only in iOS 13+ devices. So, how to manipulate with file selection choices? What delegate method of WK WebView ...
0
votes
1
answer
70
views
ViewController reloads on presenting alert controller swift
I am working on project. i have added a simple alertController on clicking signup button. when i click on the button my viewcontroller reloads and then it shows that alertController. It is happening ...
2
votes
1
answer
978
views
Best approach for coding a painting app on iOS / iPad
I’m trying to build a drawing/painting app for the iPad, with textured brush tips and paper.
So far, all drawing app example codes I've come across seem to work by stroking a path. However, I'd like ...
2
votes
0
answers
756
views
"No internet connection" message appears while using sign in by Apple [closed]
I recently implemented "Sign In with Apple" feature in my iOS application, I tested it on many devices including an iPad and iPhone on Wi-Fi and cellular network on iOS 13.5.1 and it worked ...
1
vote
2
answers
490
views
iOS 13 move from view controller to another storyboard with its navigation controller
I have two storyboards
Main.storyboard
App.storyboard
when user login it move from loginViewController to ChatVC i want to use ChatVC's embedded navigation controller. I written the code below But ...