Post

Replies

Boosts

Views

Activity

Reply to Xcode 12 with swift setup first project error in Automatic preview
SOLVED! In my case, I was using another Toolchain(that I installed to test another Swift SDK, that doesn't matter now), and all I needed to do is setting the Xcode to use the default Toolchain again: With the Xcode open, on the MenuBar(top of you screen) click on [Xcode] Click on [Toolchain] Click on [Manage Toolchain] Click/Select your Xcode's version. E.G.: In you case: "Xcode 13.2" [Extra step] I suggest you to uninstall another Toolchain that is not the default after using it, since Xcode can give some errors difficult to detect/understand, and you can do this by doing a ["Right click of your mouse" on those Toolchains ] -> [Move to Trash] Tags: @moudstar @THPHogg @Claude31 @yezzer
Apr ’23
Reply to ContentView doesn't preview
SOLVED! In my case, I was using another Toolchain(that I installed to test another Swift SDK, that doesn't matter now), and all I needed to do is setting the Xcode to use the default Toolchain again: With the Xcode open, on the MenuBar(top of you screen) click on [Xcode] Click on [Toolchain] Click on [Manage Toolchain] Click/Select your Xcode's version. E.G.: In you case: "Xcode 13.2" [Extra step] I suggest you to uninstall another Toolchain that is not the default after using it, since Xcode can give some errors difficult to detect/understand, and you can do this by doing a ["Right click of your mouse" on those Toolchains ] -> [Move to Trash] Tags: @hosshonar
Apr ’23
Reply to iPadOS 15 Beta: WebView: Dropdown (Popover) user experience changes are not pleasant
I'm wondering how to force the change from this "selectPopover" to a classic UIPickerView on the WKWebView. . But if it doesn't matter for you if you use UIWebView or WKWebView, replacing in your code from the WKWebView to the old UIWebView will Solve the problem: . e.g.: This HTML code: <select id="Finalidade" name="Finalidade">     <option value="01 Pagamento de Impostos" >00001 Pagamento de Impostos</option>     <option value="02 Pagamento e Concessionorias" >00002 Pagamento e Concessionarias</option> </select> [WKWebView] Shows the "selectPopover": [UIWebView] Shows the classic UIPickerView: . Does anyone have any idea how to force the use of UIPickerView in WKWebView when [<select><option1/></select>] appears? ------------- UPDATE ------------- FYi.: If the device is running iOS below 15, the UIPickerView can/will be used on WKWebView:
Jan ’23
Reply to Command line tool camera permission
SOLUTION:1) Create a file with your editor, name it Info.plist, with this:&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;&lt;plist version="1.0"&gt;&lt;dict&gt; &lt;key&gt;NSMicrophoneUsageDescription&lt;/key&gt; &lt;string&gt;This app requires microphone acess to record your greeting.&lt;/string&gt; &lt;key&gt;CFBundleIdentifier&lt;/key&gt; &lt;string&gt;$(PRODUCT_BUNDLE_IDENTIFIER)&lt;/string&gt; &lt;key&gt;NSCameraUsageDescription&lt;/key&gt; &lt;string&gt;This app requires camera access to capture your dog photos.&lt;/string&gt;&lt;/dict&gt;&lt;/plist&gt;2) Drag it to your project checking Copy files if needed.3) Go to Build Phases &gt; Copy Files4) Destination set to Products Directory5) Add Info.plist6) Uncheck “Copy only when installing”Done! 😀
Mar ’20