Visual Design

RSS for tag

Discuss animation, branding, color, layout, typography, and other elements of great looking apps.

Posts under Visual Design tag

34 Posts
Sort by:
Post not yet marked as solved
1 Replies
217 Views
Hi so based on Apple UIG I should use degrees of transparency to get degrees of gray ? So to apply that on a label for example or text I make them black color then apply transparency on the control element it self ? kindest Regards
Posted Last updated
.
Post not yet marked as solved
0 Replies
288 Views
Hello, I have a graphics problem with Monterey on my Mac mini end of 2014 ( Graphics problem under Monterey (Intel Iris 1536 MB chip). The edges of the Dock and the Control Panel appearing full of artifact, like plastic cut with scissors or torn. My Mac being compatible it's strange and ugly. I should mention that other users with other Macs using this chip have the same problem.
Posted Last updated
.
Post not yet marked as solved
0 Replies
317 Views
Hi, I want to add some animations in my quiz module in an app. Animations like bow arrow, floating balloons, etc. In bow arrow the arrow will hit the target on tap. How can I achieve these animations in swift? Thanks in advance.
Posted Last updated
.
Post marked as solved
2 Replies
887 Views
I have in my project different code which is responsible for the blur effect in my app. In tvOS 13 this worked fine but in tvOS 14 I have to remove the code otherwise the app will crash. What exactly do I have to change in the code to make it run on tvOS 14. Thanks for the help. private func sharedSetup(effect: UIBlurEffect, radius: CGFloat = 90) {			 let UICustomBlurEffect = NSClassFromString("_UICustomBlurEffect") as! UIBlurEffect.Type let raw = effect.value(forKey: "_style") as! Int let style = UIBlurEffect.Style(rawValue: raw)! let effect = UICustomBlurEffect.init(style: style)						 effect.setValue(1.0, forKey: "scale")		 effect.setValue(radius, forKey: "blurRadius")			 effect.setValue(UIColor.clear, forKey: "colorTint") self.blurEffect = effect	 }
Posted
by janapple.
Last updated
.
Post not yet marked as solved
0 Replies
250 Views
Hello everyone . I have a button which is in a stack view. When my button is tapped it animates but it doesn’t perform the animation completely because it goes outside the stack view. Do you have any suggestions on how i can go outside my view with my animation? Also i am not able to get rid of the stack view. Thank you!!
Posted Last updated
.
Post not yet marked as solved
0 Replies
314 Views
Can you submit the app screenshots in the Display P3 color space? Will they be displayed correctly on the App Store? It is aberrant not to find this info in the documentation. The guidelines for the App of the Day and Feature Story cards are just as vague, only the resolution is specified. However, the provided templates are sRGB. This old post got me worried: https://stackoverflow.com/questions/54809327/appstore-connect-displayed-screenshots-wrong-colorspace
Posted Last updated
.
Post not yet marked as solved
4 Replies
6.2k Views
We are using custom UITableViewCell in UITableview. While we testing our application on iOS15 beta 2 version, we observe extra space in between 2 UITableViewCells. Same UI is working fine on iOS 14 and below. Do we need to make any extra changes to handle this for iOS 15 or it will be fixed in next iOS 15 beta release?
Posted
by avartak.
Last updated
.
Post not yet marked as solved
0 Replies
344 Views
I'm working on a custom keyboard extension, and am currently a bit stuck on a feature. The goal is to color certain words that a user types in the preview of messaging apps - like how the emoji keyboard colors words orange that can be converted to emojis. My general understanding is that this is done through MFMessageComposeViewController, with the target of the coloration being the body of this object. It looks like UIApperance can be used in this case, but I'm really not sure how to put it all together. Long story short, does anyone have an idea on how to take the text of a custom keyboard like "Hello from Cupertino!" and color, for example, Hello red and Cupertino blue in the preview before the message is sent? Thanks so much :)
Posted Last updated
.
Post marked as solved
2 Replies
1.1k Views
Dear community, Yesterday I update Xcode from 12.5.1 to 13.0 and I came across a lot of compile error. Until before the update all was working great, but I suppose probably some syntax rules changes with the update for iOS 15.  .background(Color.systemBlue) error: Type 'Color' has no member 'systemBlue'  .maxWidth(.infinity) error: Cannot infer contextual base in reference to member 'infinity' Value of type 'Image' has no member 'maxWidth' .aspectRatio(contentMode: .fit) error: Cannot infer contextual base in reference to member 'fit'  Image(.system("line.horizontal.3.circle.fill")) error: Type 'String' has no member 'system' .font(.largeTitle, weight: .bold) errors: - Cannot infer contextual base in reference to member 'bold' - Extra argument 'weight' in call  Image(section.logo) .resizable() .height(32) error: Value of type 'Image' has no member 'height' Command CompileSwift failed with a nonzero exit code I hope that this one will fix by itself Basically I got 23 errors... and the code before yesterday was working great. Thanks to those who will help me, hoping it will be useful to other users, Martin
Posted Last updated
.
Post not yet marked as solved
1 Replies
863 Views
Hello! I am having trouble with my quiz game - sometimes (not always) after completing a level, the screen darkens and the game becomes unresponsive. I am unable to click anywhere on the screen. I've been scratching my head about this issue for several weeks now and can't get to the bottom of it. I'd really appreciate some help/advice on the matter if anyone knows that's wrong. I've attached the error log as it was too long to add here. Many thanks, Ermes Error log:
Posted Last updated
.
Post not yet marked as solved
0 Replies
456 Views
Hi, I'm a developer working on a plugin that maps the tracking values based on font size in Figma (design tool). I want to support the New York font, however I realize there are 4 optical sizes: Small, Medium, Large, and Extra Large. Is there a documentation that outlines which font sizes are mapped to which variation when rendered on iOS? I'm assuming it's similar to how SF Pro Display is used at size 20 instead of SF Pro Text. Knowing the mapping will help designers see a more accurate representation of the text in Figma. Thanks.
Posted
by charliecm.
Last updated
.
Post marked as solved
5 Replies
560 Views
I change the text of a label dynamically (so I do not know the text of the label) how can I animate the size to fit. I am looking for a smooth, elegant transition for design purposes. What I have tried:         NSAnimationContext.runAnimationGroup({ (context) in             context.duration = 4.0 label1.stringValue = "long, long text"             label1.animator().sizeToFit()         })
Posted Last updated
.
Post not yet marked as solved
0 Replies
489 Views
The new SF Symbols palette color feature was working perfectly for me in beta 4, but as soon as I installed beta 5 all my symbols started rendering in a single color. After some debugging, I realized that this is only happening when the image is created via drawRect. Hopefully this is just a minor bug that will be fixed in the next beta, as I just spent an entire week moving everything over to custom symbols (and I have to render them via drawRect)...
Posted Last updated
.