Post

Replies

Boosts

Views

Activity

Reply to GeometryReader alignment
Yes, this works nicely, just add a second frame. import SwiftUI struct ContentView: View {     var body: some View {         GeometryReader { geo in             Image("Example")                 .resizable()                 .scaledTofit()                 .frame (width: geo.size.width * 0.8)                 .frame (width: geo.size.width, height: geo.size.height)         }     } Hope this helps.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’22
Reply to Screen Time Bug: iOS 18
Also having this issue. Will post FB number with sysdiagnose etc.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to Widgets inside an ios application
Hi hmsquad! Yes, add your widget code to your main app target membership and include that code wherever you like. I am assuming you are talking about SwiftUI code, here. Hope that helps and happy coding!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to Hello, I opened a developer account, I paid, but my account was not activated.
Please contact https://developer.apple.com/support. They should be able to sort it out.
Replies
Boosts
Views
Activity
Dec ’22
Reply to How to turn on developer mode
This should help: https://developer.apple.com/documentation/xcode/enabling-developer-mode-on-a-device
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to How to SharePlay songs with MusicKit for Swift?
Yes this would be great to know.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to GeometryReader alignment
Yes, this works nicely, just add a second frame. import SwiftUI struct ContentView: View {     var body: some View {         GeometryReader { geo in             Image("Example")                 .resizable()                 .scaledTofit()                 .frame (width: geo.size.width * 0.8)                 .frame (width: geo.size.width, height: geo.size.height)         }     } Hope this helps.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to How to get "file" information from MPMediaItem
Hello, As far as I know, there is no way to obtain the properties listed above via the MediaPlayer framework. Good luck!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’21