Is there a way to give a default text color to tags in apple news format. I'm testing this in Apple News Preview currently, and I can't figure out what's wrong.
According to the documentation, I should be able to style the tag using "default-tag-a"
https://developer.apple.com/documentation/apple_news/apple_news_format/components/using_html_with_apple_news_format#2992870
However, this doesn't appear to work. It works perfectly when I do paragraph tags like "default-tag-p" or span tags like "default-tag-span".
Maybe, I'm missing something. Here is my code
"textStyles": {
"default-tag-a": {
"textColor": "#1967d2"
}
}
when I add a font like
"textStyles": {
"default-tag-a": {
"fontName": "Georgia",
"textColor": "#1967d2"
}
}
This does change the font. So i'm wondering can I change the text color for links in apple news? and if so, how?
Thanks for your assistance.
General
RSS for tagDive into the vast array of tools and services available to developers.
Post
Replies
Boosts
Views
Activity
I'm looking for a way (hopefully with a compiler directive) - in debug mode as well as in my UITests - to determine if a GPX file is being used. You use a GPX file for simulating location - it is set within the scheme settings under "Core Location - Allow Location Simulation".
Is this possible?
A highly-effective debugging technique is to create a test project focused on your issue, and iterate on solutions using only the test project. We often ask developers to provide us with a small Xcode test project because it helps focus a discussion on the relevant Apple APIs.
An ideal test project:
Focuses only on specific Apple APIs
Uses the minimum amount of code possible (usually just a few files)
Reliably demonstrates the problem for anyone who builds the project
Contains no third-party libraries
Builds with no warnings using Xcode's default build settings
Does not require any third-party build tools
There are two approaches to creating a focused Xcode project:
Create a new project starting from one of Xcode's built-in templates, and add code to demonstrate the issue.
Start with a copy of your existing project, and remove code not essential to the issue. Remove code iteratively, re-testing after every removal. If you find that you can no longer demonstrate the issue after removing a particular piece of code, it’s likely that the issue is within the last-removed code. After restoring this code to the project, keep reducing the surrounding code until everything remaining is essential to the issue.
The first method is often faster if you can quickly find the right functionality to add. If that doesn't work out, the second method is usually a reliable approach.
In many cases, creating the test project will help you locate and solve the issue by yourself. Even if it doesn't, the test project still has value! It provides a smaller starting point for others to look into your issue. And if the test project helps identify a bug, then you can attach it to a bug report; the engineer looking at your report will appreciate the effort.
Sharing a link to a test project
We're always willing to take a look at your test project when it satisfies the characteristics listed above. Just share a link to where we can find it as part of your post. The forums have a list of websites you can link to. If you find that your link isn't visible in the preview of your post, just include the URL without using Markdown link syntax. For example, this link with Markdown won't appear:
Apple is based in [Cupertino](https://www.cupertino.org).
but this version will:
Apple is based in Cupertino.
https://www.cupertino.org
Revision History
2024-05-30 Initial version.
My project is visionOS project. I add the package ‘swift-openapi-generator’ and add run build tool plug-ins as the vedio teached. When I build the project, xcode show me the error No such module 'Glibc'
hello;
The simulator exists but not in xcode 15.4?
why?
Why do we need to review the formatting for different versions of xcode, the same for development for MAC and IOS? This xcode bug too often. Still poorly documented.
I am using HTTP Live Streaming Tools to segment a spatial video (MV-HEVC) recorded by Vision Pro. I first used the macOS build on my MacBook, it works beautifully with the command:
mediafilesegmenter -r -f path/to/destination path/to/movie.MOV
But when I tried to use the CentOS build in a Docker container and segment the exact same file using the exact same command, it gives the following error:
can't create format reader /path/to/movie.MOV 561211770
Unable to find any valid tracks to segment.
I looked up the error code, it seems to correspond to kAudioSessionBadPropertySizeError. Any idea why?
I want to run my custom application on my VisionPro.
I have paired my VisionPro with Xcode successfully but when I am running it it shows me to enable developer mode in VisionPro.
When I followed the options and Went to Settings -> Privacy & Security.
There is no developer mode option visible at any place.
Please let me know how I can enable the developer option in VisionPro.
Thanks
My apple Account having Two active 'iOS Distribution' now Both are expected to Expire in next ~20 day's. Below are my queries looking for the details.
a) can we create the new (third) iOS Distribution certificate for the build distribution ?
b) how can we identified the current Active application provisioning profiles are boing with which iOS Distribution certificate (as under the Profile details showing two certificate having the same date) , so not able ti identified which certificate currently is in use?
We are considering developing our own MDM server for internal app distribution.
Is it necessary to enroll in the Apple Enterprise Developer Program to develop MDM server?
Currently, our company is only enrolled in the Apple Developer Program and Business Manager.
Additionally, since we have fewer than 100 employees, it is difficult for us to join the Enterprise Program. In this case, is it not possible for us to set up an MDM server?
Learn techniques to help debug any coordinate space issue.
View Technote TN3124 >
I'm trying to compile a little project in C with the following structure:
Project
|
|->Headers
|->library.h
|
|->src
|->main.c
|->library.c
I've checked all my files, my configurations files and I'm getting the same error everytime, someone could please help me? :(
Undefined symbols for architecture arm64:
"_getfavoritenumber", referenced from:
_main in main-99c109.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Cx was unable to login to their cloud account when the policy was pushed on to their device. However, when no policy was pushed cx could login. The issue is with applying whitelist configuration to device with passcode turned on..while whitelisting the app some system bundle identifier is getting blocked, we tried whitelisting all system app available for ios and couldn't find a solution
I have integrated MetricKit into my production app and listening for the corresponding callback
func didReceive(_ payloads: [MXDiagnosticPayload])
After some time, I've noticed that the hang diagnostics data collected are all for hangs longer than 1 second.
Does MetricKit only collect hang data for hangs longer than 1 second?
Can this threshold be adjusted, for example, to 500ms?
Is there any sampling involved in the collection of hang diagnostics? The number of hang events collected by MetricKit is significantly lower compared to other third-party platforms.
Thank you for your response, this is very important to me.
Hi all ,
We are planning to manage about 1 Million+ Apple devices of inclusive of both iPhone and Mac devices under a AxM Account. However while adding VPP Licenses for an App i'm prompted with below error:
" You cannot order more than 100000 copies of same the free item per week"
While our goal is to manage 1 Million devices under same Location token , i have below questions in mind
1 . What is the upper limit of number of Licenses that can be added per app in a Location token?
Currently it says 1 Lakh Licenses per app per week . Wanted to know if there is any limit on this count as it shouldn't surprise us in upcoming weeks.
2 . How many Locations can be created in a AxM Account?
Currently we created about 15 location to see if there are any limit but so far couldn't find any limit on number of locations that can be created. This limit could help us plan our deployment in advance
3 . What is the total number of licenses a VPP Location token can hold ?
As we manage 1 Million Devices for 12 Apps , 1 Million x 12= 12 Million licenses would be transacted in this location token by our MDM Solution , is this okay or will there be any limitations in this count
Hi, ho un'idea per un'applicazione che può rivoluzionare e agevolare riguardo l'utilizzo degli apparati video (telefoni, monitor, tv) per almeno il75/80% dell'intera popolazione mondiale.
Vorrei che fosse un'operazione realizzata inizialmente da apple ios/os e in seguito su tutti i supporti.
Mi piacerebbe creare, sviluppare o cedere l'idea ma non so proprio da dove iniziare.
potete darmi info su questo?
so che può sembrare una richiesta astrana, ma sono certo che questa app sarà una vera rivoluzione per tutti, o quasi
Grazie
Giovanni da Cagliari, Sardegna, Italia
Hi, I have an idea for an application that can revolutionize and facilitate the use of video equipment (telephones, monitors, TVs) for at least 75/80% of the entire world population.
I would like it to be an operation carried out initially by apple ios/os and later on all media.
I would like to create, develop or sell the idea but I really don't know where to start.
can you give me info on this?
I know it may seem like a strange request, but I'm sure that this app will be a real revolution for everyone, or almost everyone
Thank you
Giovanni from Italy
[Edited by Moderator]
Hi, I want to create an offline mode for my iOS app. Where is it better to keep files in terms of download speed: in a CDN like Cloudflare or using On-Demand Resources? The total file size is 2 GB.
As presented in the talks and documentation I’ve seen so far, DocC works for public and open Swift symbols. But how about stuff for internal use?
We are developing a fairly complex mixed source SDK with several components, that would benefit greatly from direct integration of auxiliary content for diagrams and so on. But since many of these parts are for internal use only, they have module or below level visibility.
Is there a way to build an internal documentation target that includes this information with DocC, and — if so — how?
I am looking forward to develop an ecommerce IOS application. When I conducted my research for the same I found that offshore developers are offering solutions in quite less price compare to onshore developers. At the same time I also have some doubts over offshore development such as reliability, quality, collaboration and more.. Anyone can suggest me what would be the best in long term.
Hello, I'm in charge of the system at a certain company. We've been having trouble lately.
Does anyone have the same problem?
Our company have IN-HOUSE app for our employee.
An issue has been occurring where the app can't be started after updating since last year. It is distributed to 2000 devices, and about 3 errors occur every time.
When I try to start it I get the error below.
"Unable to Verify App: An internet connection is required to verify the trust of the developer ... This app will not be available until verified."
(IN JAPANESE:アプリを検証できません デベロッパー″iPhone Distribution:...″の信用を確認するにはインターネット接続が必要です。確認が終わるまではこのアプリは使用できません。)
*There were no problems with internet connectivity on any of the devices.
*Provisioning profile has not expired.
Moreover, Errors suddenly started to occur frequently even on devices that have not been updated since last month.
The issue is occurring on the following devices.
iOS16.6~17.3
iPhone 8, iPhone SE2
Although We restarted the iPhone and redistributed the app, the issue didn't improve.
Currently, we are resolving by initializing the iPhone, but is there any workaround?
This is related to feedback submitted at https://feedbackassistant.apple.com.